Exit with code 50 if upgrade fail
This commit is contained in:
parent
8daa80803d
commit
d133af4fed
|
@ -256,7 +256,9 @@ main() { # {{{
|
||||||
&& exit 0
|
&& exit 0
|
||||||
|
|
||||||
## Try to upgrade the system
|
## Try to upgrade the system
|
||||||
upgrade_system
|
### Exit 50 if any error in returned value
|
||||||
|
upgrade_system \
|
||||||
|
|| exit 50
|
||||||
|
|
||||||
## If Maco upgrade is present
|
## If Maco upgrade is present
|
||||||
### Exit (and leave Maco manage required reboot if present)
|
### Exit (and leave Maco manage required reboot if present)
|
||||||
|
|
Loading…
Reference in New Issue