failing exit code also for first run and for changed log file