2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

32_yowsup.pm: better exec failed log message

git-svn-id: https://svn.fhem.de/fhem/trunk@8762 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2015-06-17 09:25:32 +00:00
parent e87267bf36
commit 1ac35a6a55

View File

@ -161,7 +161,9 @@ yowsup_Connect($)
my $cmd = AttrVal($name, "cmd", "/opt/local/bin/yowsup-cli demos -c /root/config.yowsup --yowsup" );
Log3 $name, 2, "$name: starting yoswup-cli: $cmd";
exec split( ' ', $cmd ) or Log 1, "exec failed!!!";
exec split( ' ', $cmd ) or Log3 $name, 1, "exec failed";
Log3 $name, 1, "set the cmd attribut to: <path1>/yowsup-cli demos -c <path2>/config.yowsup --yowsup";
POSIX::_exit(0);;
}