Commit 44a877aa authored by Lutz Jänicke's avatar Lutz Jänicke
Browse files

Fix incorrect return value in apps/apps.c:parse_yesno()

PR: 1607
Submitted by: "Christophe Macé" <mace.christophe@gmail.com>
parent 6b6fe3d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2030,7 +2030,7 @@ int parse_yesno(const char *str, int def)
		case 'y': /* yes */
		case 'Y': /* YES */
		case '1': /* 1 */
			ret = 0;
			ret = 1;
			break;
		default:
			ret = def;