summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver.py b/xserver.py
index 3ff5c8f70..4e64a9057 100644
--- a/xserver.py
+++ b/xserver.py
@@ -207,7 +207,7 @@ EndSection
sys.kill(server, 15)
pid, status = os.waitpid(server, 0)
except:
- sys.exit(-1)
+ sys.exit(0)
sys.exit((status >> 8) & 0xf)