From 2ae159623725aa5f6b0265da8f8bff5e297eb9f3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 8 Jul 2004 08:09:48 +0000 Subject: warn the user before dm exit will kill the session (Robert Vojta, #10179) --- perl-install/standalone/drakedm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/standalone/drakedm') diff --git a/perl-install/standalone/drakedm b/perl-install/standalone/drakedm index 16a83061b..81631d4b4 100644 --- a/perl-install/standalone/drakedm +++ b/perl-install/standalone/drakedm @@ -75,6 +75,7 @@ several different X sessions on your local machine at the same time.")), 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 + $in->ask_yesorno('', N("You are going to close all running programs and lost your current session. Are you really sure that 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