Status Daemon: only write to log output and error of script if there was an error See merge request !75