PRESENCE: fixing wrong binary check for ctlmgr_ctl

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4628 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch
2014-01-12 10:16:24 +00:00
parent a8a49651d1
commit c8f7c96363

View File

@@ -106,7 +106,7 @@ PRESENCE_Define($$)
}
elsif($a[2] eq "lan-ping")
{
if(-X "/usr/bin/ctrlmgr_ctl" and not $username eq "root")
if(-X "/usr/bin/ctlmgr_ctl" and not $username eq "root")
{
my $msg = "FHEM is not running under root (currently $username) This check can only performed with root access to the FritzBox";
Log 2, "PRESENCE: ".$msg;