瀏覽代碼

secfix: terminate login shell after termination of xorg

Fabian Peter Hammerle 5 年之前
父節點
當前提交
0b66f9320a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rc.xsh

+ 1 - 1
rc.xsh

@@ -191,6 +191,6 @@ aliases['p'] = ['pass']
 aliases['t'] = ['timew'] # timewarrior
 
 if shutil.which('startx') and $(tty).rstrip() == '/dev/tty1':
-    startx
+    exec startx
 
 # vim: filetype=python