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:
Colin Walters 2011-03-10 19:17:14 -05:00
parent 88958270cb
commit 04473f607b

View File

@ -548,3 +548,8 @@ try:
finally:
if options.replace and (options.perf or not normal_exit):
restore_gnome()
if normal_exit:
sys.exit(0)
else:
sys.exit(1)