2
0
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:
rudolfkoenig 2012-04-29 07:41:51 +00:00
parent dd4bb074bc
commit 56b071e22b

View File

@ -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);
}