From 988bf6de1ca001779c997e22b5652e93db5bf2f8 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 23 Oct 2023 19:34:21 +0100 Subject: Adding -t flag to ssh to ensure command run after ssh --- calendar/dayplan_revised.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/dayplan_revised.pl b/calendar/dayplan_revised.pl index a2f6354..a285999 100755 --- a/calendar/dayplan_revised.pl +++ b/calendar/dayplan_revised.pl @@ -182,7 +182,7 @@ sub twblock { sub remindersblock { my ($y, $m, $d) = @_; - my $reminders = qx(ssh bobbins remind ~/.reminders $y-$m-$d); + my $reminders = qx(ssh -t bobbins remind ~/.reminders $y-$m-$d); $reminders =~ s/\s{2,}/\n/gs; $reminders =~ s/^Reminders.+\:\n//; my @rems = split /\n/, $reminders; -- cgit v1.2.3