diff options
Diffstat (limited to 'src/state.c')
-rw-r--r-- | src/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c index 94afe86..1bd29bf 100644 --- a/src/state.c +++ b/src/state.c @@ -771,7 +771,7 @@ int apk_state_commit(struct apk_state *state, printf("Do you want to continue [Y/n]? "); fflush(stdout); r = fgetc(stdin); - if (r != 'y' && r != 'Y') + if (r != 'y' && r != 'Y' && r != '\n') return -1; } } |