summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cron2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron b/cron
index ff419e7..85ff4d6 100644
--- a/cron
+++ b/cron
@@ -61,7 +61,7 @@ while (defined($ThisLine = <STDIN>)) {
$User = $1;
$Runs->{$User}->{$ThisLine}++;
$ExecutedCommand{$PID} = {command=>$ThisLine, user=>$User};
- } elsif ($ThisLine =~ s/^CMD FINISH \((.+)\)\s*$/$1/) {
+ } elsif ($ThisLine =~ s/^CMD( FINISH|END) \((.+)\)\s*$/$2/) {
$Runs->{$User}->{$ThisLine}++;
} elsif ($ThisLine =~ s/^(END|CMD START) \((.+)\)\s*$/$1/) {
#Ignore for now, NetBSD users could get tricky with