From 3164b6e6d5f54cb54f53f599fc58a179159ce38c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 17 Mar 2004 17:57:01 +0000 Subject: fix dm restart --- perl-install/standalone/drakedm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone/drakedm') 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"); } } -- cgit v1.2.1