summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
Diffstat (limited to 'move/move.pm')
-rw-r--r--move/move.pm6
1 files changed, 4 insertions, 2 deletions
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;