summaryrefslogtreecommitdiffabout
path: root/src/util.c
Side-by-side diff
Diffstat (limited to 'src/util.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index f254202..3493366 100644
--- a/src/util.c
+++ b/src/util.c
@@ -95,14 +95,15 @@ vgetyn (const char *prompt, va_list ap)
case 'n':
case 'N':
return 0;
default:
fprintf (stdout, "%s\n", _("Please, reply 'y' or 'n'"));
}
- state = 0;
- } else
+ /* fall through */
+ }
+ else
break;
case 0:
vfprintf (stdout, prompt, ap);
fprintf (stdout, " [y/n]?");
fflush (stdout);

Return to:

Send suggestions and report system problems to the System administrator.