summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/standalone/drakedm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakedm b/perl-install/standalone/drakedm
index 2547cd901..7fea03317 100644
--- a/perl-install/standalone/drakedm
+++ b/perl-install/standalone/drakedm
@@ -74,7 +74,7 @@ several different X sessions on your local machine at the same time.")),
} $cfg_file;
log::explanations("Switching to \"$dm\" display manager");
if (any::running_window_manager()) {
- $in->ask_okcancel('', 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 services::restart("dm");
}
}