Is there an elegant way to avoid failture messages etc. from executed scripts?
I have a couple of rules like this:
execute "sudo hping3 -2 -c 3 -p 5353 192.168.0.33 >/dev/null 2>&1" and execute "sudo hping3 -2 -c 3 -p 5353 192.168.0.105 >/dev/null 2>&1"
They all produce logs:
error [pimatic]: rule ping-iphone-to-be-awake error executing an action: Command failed:
13:30:03error [pimatic]: Error on evaluation of rule condition of rule ping-iphone-to-be-awake: Command failed:
13:30:03error [pimatic]: rule ping-iphone-to-be-awake error executing an action: Command failed:
So is there an elegant way to prevent them from logging at all?