gnome-shell-jhbuild: exit 1 if gnome-shell-real failed
We need to be propagating the failure exit code so that gnome-session knows something went wrong.
This commit is contained in:
parent
88958270cb
commit
04473f607b
@ -548,3 +548,8 @@ try:
|
|||||||
finally:
|
finally:
|
||||||
if options.replace and (options.perf or not normal_exit):
|
if options.replace and (options.perf or not normal_exit):
|
||||||
restore_gnome()
|
restore_gnome()
|
||||||
|
|
||||||
|
if normal_exit:
|
||||||
|
sys.exit(0)
|
||||||
|
else:
|
||||||
|
sys.exit(1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user