From: vimacs Date: Fri, 5 Mar 2010 15:39:59 +0000 (+0100) Subject: Only forking when killing x. X-Git-Tag: Release-2010-05/1~82^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b395aefa63ee936881188d7308b4cc1869ead1a8;p=pandora-libraries.git Only forking when killing x. modified: testdata/scripts/pnd_run.sh --- 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