summaryrefslogtreecommitdiff
path: root/FS/FS/Daemon.pm
diff options
context:
space:
mode:
authormark <mark>2010-06-15 05:10:12 +0000
committermark <mark>2010-06-15 05:10:12 +0000
commit0c54b74fc47304e2d6e70b604e15ef3827fa59d4 (patch)
treeeaf06437399f3c5492f08e95ef94116a9970cc5b /FS/FS/Daemon.pm
parentfc1dd91f69608497a714a3c013e6b1baccd9dcac (diff)
RT#7869: fix error messages when send_email fails in the job queue
Diffstat (limited to 'FS/FS/Daemon.pm')
-rw-r--r--FS/FS/Daemon.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/Daemon.pm b/FS/FS/Daemon.pm
index ca181345a..f92a2ee37 100644
--- a/FS/FS/Daemon.pm
+++ b/FS/FS/Daemon.pm
@@ -83,6 +83,7 @@ sub myexit {
}
sub _die {
+ die @_ if $^S; # $^S = 1 during an eval(), don't break exception handling
my $msg = shift;
unlink $pid_file if -e $pid_file;
_logmsg($msg);