diff --git a/cluster/apt.check.update.sh b/cluster/apt.check.update.sh index 8b67731..e42987f 100755 --- a/cluster/apt.check.update.sh +++ b/cluster/apt.check.update.sh @@ -63,7 +63,7 @@ debug_message() { # {{{ } # }}} -is_apt_upgrade_absent() { # {{{ +is_apt_upgrade_absent() { # {{{ ## Count the number of upgradable packages and substract 1 for the header local_apt_upgrade_number="$(apt list --upgradable \ @@ -87,7 +87,7 @@ APT upgrade available for this system: ${RED}${local_apt_upgrade_number:=/dev/nu } # }}} -is_apt_upgrade_present() { # {{{ +is_apt_upgrade_present() { # {{{ ## Count the number of upgradable packages and substract 1 for the header local_apt_upgrade_number="$(apt list --upgradable \ @@ -125,11 +125,12 @@ main() { # {{{ ## If APT package upgrade is available ### Disable SGE queue is_apt_upgrade_present \ - && sh "${disable_host_queue_script}" + && sh "${disable_host_queue_script}" \ + && exit 0 } # }}} main -exit 0 +exit 255