Exit with success if everything was ok
This commit is contained in:
parent
03178436a9
commit
06b03ea27c
|
@ -125,11 +125,12 @@ main() { # {{{
|
||||||
## If APT package upgrade is available
|
## If APT package upgrade is available
|
||||||
### Disable SGE queue
|
### Disable SGE queue
|
||||||
is_apt_upgrade_present \
|
is_apt_upgrade_present \
|
||||||
&& sh "${disable_host_queue_script}"
|
&& sh "${disable_host_queue_script}" \
|
||||||
|
&& exit 0
|
||||||
|
|
||||||
}
|
}
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
||||||
exit 0
|
exit 255
|
||||||
|
|
Loading…
Reference in New Issue