fhem.pl: do not write statefile on ^C (SIGINT)
git-svn-id: https://svn.fhem.de/fhem/trunk@7124 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -2604,7 +2604,7 @@ sub
|
||||
SignalHandling()
|
||||
{
|
||||
if($^O ne "MSWin32") {
|
||||
$SIG{INT} = sub { $sig_term = 1; };
|
||||
$SIG{INT} = sub { exit() };
|
||||
$SIG{TERM} = sub { $sig_term = 1; };
|
||||
$SIG{PIPE} = 'IGNORE';
|
||||
$SIG{CHLD} = 'IGNORE';
|
||||
|
||||
Reference in New Issue
Block a user