Skip to content

Commit

Permalink
Debug print raw exit status after eval.
Browse files Browse the repository at this point in the history
  • Loading branch information
mschmitt authored and jpmens committed Nov 14, 2009
1 parent 9a3ef07 commit 794e81b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions imapidle2prowl.pl
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@
$SIG{'TERM'} = sub { $exitasap = 1; };
$SIG{'INT'} = sub { $exitasap = 1; };
# Handle different states how IDLE may have ended.
dolog('debug', "Eval has ended. \$\@ contains: $@");
if ($@ =~ /__TIMEOUT__/){
my $idle_end = time();
my $idle_duration = $idle_end - $idle_start;
Expand Down

0 comments on commit 794e81b

Please sign in to comment.