mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
Chnaged perl to $^X for Martin for the Synology port
git-svn-id: https://svn.fhem.de/fhem/trunk@1498 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dd4bb074bc
commit
56b071e22b
@ -1132,7 +1132,7 @@ CommandShutdown($$)
|
||||
WriteStatefile();
|
||||
unlink($attr{global}{pidfilename}) if($attr{global}{pidfilename});
|
||||
if($param && $param eq "restart") {
|
||||
system("(sleep 2; exec perl $0 $attr{global}{configfile})&");
|
||||
system("(sleep 2; exec $^X $0 $attr{global}{configfile})&");
|
||||
}
|
||||
exit(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user