From 44a877aa88fefc82a991c76e24620824ff2a3d98 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lutz=20J=C3=A4nicke?= Date: Thu, 17 Apr 2008 14:15:27 +0000 Subject: [PATCH] =?utf8?q?Fix=20incorrect=20return=20value=20in=20apps/app?= =?utf8?q?s.c:parse=5Fyesno()=20PR:=201607=20Submitted=20by:=20"Christophe?= =?utf8?q?=20Mac=C3=83=C2=A9"=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- apps/apps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/apps.c b/apps/apps.c index 5b01244845..2a7329fc20 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -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; -- 2.25.1