diff --git a/cluster/apt.apply.update.sh b/cluster/apt.apply.update.sh index 9432d1e..42abaa0 100755 --- a/cluster/apt.apply.update.sh +++ b/cluster/apt.apply.update.sh @@ -256,7 +256,9 @@ main() { # {{{ && exit 0 ## Try to upgrade the system - upgrade_system + ### Exit 50 if any error in returned value + upgrade_system \ + || exit 50 ## If Maco upgrade is present ### Exit (and leave Maco manage required reboot if present)