2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-05 18:16:44 +00:00

$sysCmd $mac changed to qx ("$sysCmd $mac");

git-svn-id: https://svn.fhem.de/fhem/trunk@4923 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
dietmar63 2014-02-14 19:38:34 +00:00
parent 2bcf2b5e32
commit f086b20dd1

View File

@ -211,7 +211,7 @@ sub wol_by_ew($$) {
my $sysCmd = AttrVal($hash->{NAME}, "sysCmd", "/usr/bin/ether-wake");
if (-e $sysCmd) {
my $response = `$sysCmd $mac`;
qx ("$sysCmd $mac");
} else {
Log3 $hash, 1, "[$hash->{NAME}] system command '$sysCmd' not found";
}