From 1e724a6c23a5a782e97be9f29068324034a207a0 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 19 Mar 2012 20:46:29 +0900 Subject: [PATCH] exec startx --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index ab5ba26..4975b13 100755 --- a/bashrc +++ b/bashrc @@ -166,7 +166,7 @@ showinfo(){ x(){ if [[ -z $DISPLAY ]] && ! [[ -e /tmp/.X11-unix/X0 ]] && (( EUID )); then - nohup startx >~/.backup/log/xorg.log 2>&1 & + exec nohup startx # >~/.backup/log/xorg.log 2>&1 & else echo "X cant be started! Maybe another X is already running!" 1>&2 fi