summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakedm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/drakedm')
-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");
}
}