summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/index.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2000-12-14 02:49:02 +0000
committerjkh <jkh@FreeBSD.org>2000-12-14 02:49:02 +0000
commitc8394629dce8024ccb9d10490623035b757c034b (patch)
tree8b1e5ad94d0002f9b6fdae7211a93c59006db6cb /usr.sbin/sysinstall/index.c
parent41a7e78c6b5ace25de009b8707f66f8543288720 (diff)
downloadFreeBSD-src-c8394629dce8024ccb9d10490623035b757c034b.zip
FreeBSD-src-c8394629dce8024ccb9d10490623035b757c034b.tar.gz
Adapt sysinstall to use the new msgNoYes() function which assumes
no as a default. Sysinstall should be both less dangerous and less annoying as a result of this change, though that's just my opinion (since they're the defaults which annoy ME the least :).
Diffstat (limited to 'usr.sbin/sysinstall/index.c')
-rw-r--r--usr.sbin/sysinstall/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c
index 054c9ac..426097b 100644
--- a/usr.sbin/sysinstall/index.c
+++ b/usr.sbin/sysinstall/index.c
@@ -486,7 +486,7 @@ pkg_fire(dialogMenuItem *self)
msgInfo("Added %s to selection list", kp->name);
}
else if (ie->depc == 0) {
- if (!msgYesNo("Do you really want to delete %s from the system?", kp->name)) {
+ if (!msgNoYes("Do you really want to delete %s from the system?", kp->name)) {
if (vsystem("pkg_delete %s %s", isDebug() ? "-v" : "", kp->name)) {
msgConfirm("Warning: pkg_delete of %s failed.\n Check debug output for details.", kp->name);
}
OpenPOWER on IntegriCloud