From ac2bb76f8f17f727b04cb2ab3c0865310e4870a3 Mon Sep 17 00:00:00 2001 From: markusbloch <> Date: Sun, 12 Jan 2014 10:16:24 +0000 Subject: [PATCH] PRESENCE: fixing wrong binary check for ctlmgr_ctl git-svn-id: https://svn.fhem.de/fhem/trunk@4628 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/73_PRESENCE.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/73_PRESENCE.pm b/fhem/FHEM/73_PRESENCE.pm index 519999a8c..9e2f7a15e 100755 --- a/fhem/FHEM/73_PRESENCE.pm +++ b/fhem/FHEM/73_PRESENCE.pm @@ -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;