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 13e78bf137
commit 0029879188

View File

@@ -1132,7 +1132,7 @@ CommandShutdown($$)
WriteStatefile(); WriteStatefile();
unlink($attr{global}{pidfilename}) if($attr{global}{pidfilename}); unlink($attr{global}{pidfilename}) if($attr{global}{pidfilename});
if($param && $param eq "restart") { 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); exit(0);
} }