From 5713411536c079c9e688bc8683e5f1f02be7eedf Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Sun, 29 Apr 2012 07:41:51 +0000 Subject: [PATCH] Chnaged perl to $^X for Martin for the Synology port git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1498 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index 709e56af7..210faf859 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -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); }