From 003ce199fb041fbbad2f849affe6c71e6d9f7c4d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 8 Jul 2005 10:19:46 +0000 Subject: do not write in /nohup.out (#16768) --- perl-install/standalone/drakedm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/standalone/drakedm b/perl-install/standalone/drakedm index 8bbd603d7..6f4e62c90 100644 --- a/perl-install/standalone/drakedm +++ b/perl-install/standalone/drakedm @@ -71,7 +71,7 @@ several different X sessions on your local machine at the same time.")), if (any::running_window_manager()) { $in->ask_yesorno('', N("The change is done, do you want to restart the dm service?"), 1) and $in->ask_yesorno('', N("You are going to close all running programs and lose your current session. Are you really sure that you want to restart the dm service?"), 1) and - run_program::run("nohup", "/etc/rc.d/init.d/dm", "restart"); + system("nohup /etc/rc.d/init.d/dm restart &>/dev/null"); } } -- cgit v1.2.1