From b395aefa63ee936881188d7308b4cc1869ead1a8 Mon Sep 17 00:00:00 2001 From: vimacs Date: Fri, 5 Mar 2010 16:39:59 +0100 Subject: [PATCH] Only forking when killing x. modified: testdata/scripts/pnd_run.sh --- testdata/scripts/pnd_run.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/testdata/scripts/pnd_run.sh b/testdata/scripts/pnd_run.sh index 8a57e67..799f03c 100755 --- a/testdata/scripts/pnd_run.sh +++ b/testdata/scripts/pnd_run.sh @@ -220,7 +220,14 @@ echo "starting x in 5s" sleep 5 sudo /etc/init.d/slim-init start fi -} + +} #function end! + +if [ $nox ]; then echo forking now! fork &> /tmp/pndrun.out & -disown \ No newline at end of file +disown +else +echo Running with x, not disowning! +fork &> /tmp/pndrun.out +fi \ No newline at end of file -- 2.39.5