Allow the use of lowercase 'yes'
PR: bin/178422 Submitted by: Garrett Cooper <yaneurabeya@gmail.com>
This commit is contained in:
parent
e09b3321fa
commit
63efd0a107
@ -1544,7 +1544,7 @@ main(int argc, char **argv)
|
||||
printf(" from %s to %s? [Yes/No] ", oldsizebuf, newsizebuf);
|
||||
fflush(stdout);
|
||||
fgets(reply, (int)sizeof(reply), stdin);
|
||||
if (strcmp(reply, "Yes\n")){
|
||||
if (strcasecmp(reply, "Yes\n")){
|
||||
printf("\nNothing done\n");
|
||||
exit (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user