diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-17 17:57:01 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-17 17:57:01 +0000 |
commit | 3164b6e6d5f54cb54f53f599fc58a179159ce38c (patch) | |
tree | 2f4a4156252c727c4cf561736c925a80d6f87beb /perl-install/standalone | |
parent | bc0c2fedeb102423e3b24e2355f9bfe7de1f0d5d (diff) | |
download | drakx-backup-do-not-use-3164b6e6d5f54cb54f53f599fc58a179159ce38c.tar drakx-backup-do-not-use-3164b6e6d5f54cb54f53f599fc58a179159ce38c.tar.gz drakx-backup-do-not-use-3164b6e6d5f54cb54f53f599fc58a179159ce38c.tar.bz2 drakx-backup-do-not-use-3164b6e6d5f54cb54f53f599fc58a179159ce38c.tar.xz drakx-backup-do-not-use-3164b6e6d5f54cb54f53f599fc58a179159ce38c.zip |
fix dm restart
Diffstat (limited to 'perl-install/standalone')
-rw-r--r-- | perl-install/standalone/drakedm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/drakedm b/perl-install/standalone/drakedm index ea39b9d07..cefd3198c 100644 --- a/perl-install/standalone/drakedm +++ b/perl-install/standalone/drakedm @@ -74,7 +74,8 @@ several different X sessions on your local machine at the same time.")), } $cfg_file; log::explanations(qq(Switching to "$dm" display manager)); if (any::running_window_manager()) { - $in->ask_yesorno('', N("The change is done, do you want to restart the dm service ?"), 1) and services::restart("dm"); + $in->ask_yesorno('', N("The change is done, do you want to restart the dm service ?"), 1) and + run_program::rooted($::prefix, "nohup", "/etc/rc.d/init.d/dm", "restart"); } } |