summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
Diffstat (limited to 'move/move.pm')
-rw-r--r--move/move.pm10
1 files changed, 6 insertions, 4 deletions
diff --git a/move/move.pm b/move/move.pm
index 39d4cd278..de99597ac 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -59,10 +59,12 @@ sub install2::startMove {
output('/var/run/console/mdk', 1);
run_program::run('pam_console_apply');
- fork() or exec 'gmessage', '...' or c::_exit(0);
-
- sleep 1;
- exec 'su', 'mdk', 'startkde';
+ if (fork()) {
+ sleep 1;
+ exec 'su', 'mdk', 'startkde';
+ } else {
+ exec 'xwait' or c::_exit(0);
+ }
}
sub automatic_xconf {