summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-17 17:57:01 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-17 17:57:01 +0000
commit3164b6e6d5f54cb54f53f599fc58a179159ce38c (patch)
tree2f4a4156252c727c4cf561736c925a80d6f87beb /perl-install/standalone
parentbc0c2fedeb102423e3b24e2355f9bfe7de1f0d5d (diff)
downloaddrakx-3164b6e6d5f54cb54f53f599fc58a179159ce38c.tar
drakx-3164b6e6d5f54cb54f53f599fc58a179159ce38c.tar.gz
drakx-3164b6e6d5f54cb54f53f599fc58a179159ce38c.tar.bz2
drakx-3164b6e6d5f54cb54f53f599fc58a179159ce38c.tar.xz
drakx-3164b6e6d5f54cb54f53f599fc58a179159ce38c.zip
fix dm restart
Diffstat (limited to 'perl-install/standalone')
-rw-r--r--perl-install/standalone/drakedm3
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");
}
}