Closed sebbi08 closed 5 years ago
why have it exit "fail" when you could just use a combination of grep/awk to parse the results looking for the string "New Update"
run update and then run this on the output grep "New version" and if that returns something then a new version has been found no need to give it a "fail" code just have your automation script do something other than running a init script
Chaned exit code of 'update' when there is no new version to make it posible to let an update check run all lets say 30 min and react on the exit code of the dry run