'Q' means ignore parse error, not 'q'
This commit is contained in:
2
visudo.c
2
visudo.c
@@ -402,7 +402,7 @@ main(argc, argv)
|
|||||||
*/
|
*/
|
||||||
if (parse_error == TRUE) {
|
if (parse_error == TRUE) {
|
||||||
switch (whatnow()) {
|
switch (whatnow()) {
|
||||||
case 'q' : parse_error = FALSE; /* ignore parse error */
|
case 'Q' : parse_error = FALSE; /* ignore parse error */
|
||||||
break;
|
break;
|
||||||
case 'x' : Exit(0);
|
case 'x' : Exit(0);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user