mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
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:
parent
1bc9c69916
commit
9a3a7b97aa
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user