diff options
-rw-r--r-- | cron | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |