diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-10-16 15:41:48 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-10-16 15:41:48 +0000 |
commit | d6aec113996a094aa72403abeb260312dabf1489 (patch) | |
tree | c1a7ebb64f6ac6c4d3e675e404fd743f6f0461e0 /move/move.pm | |
parent | 4d89878fec3fb80ed273f478745cb78052bad69c (diff) | |
download | drakx-d6aec113996a094aa72403abeb260312dabf1489.tar drakx-d6aec113996a094aa72403abeb260312dabf1489.tar.gz drakx-d6aec113996a094aa72403abeb260312dabf1489.tar.bz2 drakx-d6aec113996a094aa72403abeb260312dabf1489.tar.xz drakx-d6aec113996a094aa72403abeb260312dabf1489.zip |
add xwait and use it
Diffstat (limited to 'move/move.pm')
-rw-r--r-- | move/move.pm | 10 |
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 { |