]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdisk: make quit question more usable
authorKarel Zak <kzak@redhat.com>
Thu, 5 Sep 2019 10:06:27 +0000 (12:06 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 5 Sep 2019 10:06:27 +0000 (12:06 +0200)
Reported-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fdisk-menu.c

index cd104e20be1a130c1d08ccce94b6ef64e92c92a5..7198530f26fb9b413ac2fa041faeda5964e83c60 100644 (file)
@@ -432,7 +432,7 @@ int process_fdisk_menu(struct fdisk_context **cxt0)
                if (is_interactive
                    && fdisk_label_is_changed(fdisk_get_label(cxt, NULL))) {
                        rc = get_user_reply(
-                               _("\nDo you really want to quit? "),
+                               _("\nAll unwritten changes will be lost, do you really want to quit? "),
                                buf, sizeof(buf));
                        if (rc || !rpmatch(buf))
                                return 0;