From e87e3f7b9bb17eeecd95b68cd074d6fe9153f0dd Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 3 Dec 2003 13:56:28 +0000 Subject: allow easier debugging by not killing shell on #2 when starting with "shell" commandline param --- move/move.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'move/move.pm') diff --git a/move/move.pm b/move/move.pm index 76ce89873..f105c8fe8 100644 --- a/move/move.pm +++ b/move/move.pm @@ -613,8 +613,10 @@ sub install2::startMove { } #- password in screensaver doesn't make sense if we keep the shell - kill 9, cat_('/var/run/drakx_shell.pid'); - output('/dev/tty2', "Killed\n"); + if (cat_('/proc/cmdline') !~ /\bshell\b/) { + kill 9, cat_('/var/run/drakx_shell.pid'); + output('/dev/tty2', "Killed\n"); + } if (fork()) { sleep 1; -- cgit v1.2.1