From 49335ed66f470a71b648f62a2fc0ba54ef7d5279 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Fri, 22 Jan 2016 11:22:14 +0100 Subject: no error on exit (mga#15127) --- usr/share/mageiawelcome/mageiawelcome.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/share') diff --git a/usr/share/mageiawelcome/mageiawelcome.py b/usr/share/mageiawelcome/mageiawelcome.py index a207e70..4c7219d 100644 --- a/usr/share/mageiawelcome/mageiawelcome.py +++ b/usr/share/mageiawelcome/mageiawelcome.py @@ -178,7 +178,7 @@ def main(): msg = json.loads(msg) again = True if msg == "close": - my_quit_wrapper() + return 0 elif msg == "checkbox checked": if os.path.exists(home + "/.mageiawelcome/norun.flag"): os.system("rm -rf " + home + "/.mageiawelcome/norun.flag") -- cgit v1.2.1