From 707a56b20c52efa5d8e5bf69b721b7c50dac32b7 Mon Sep 17 00:00:00 2001 From: Anatoly Lyutin Date: Wed, 17 Jan 2007 11:45:21 +0300 Subject: [PATCH] cmd: Remove incorrect return in WCMD_if(). --- programs/cmd/builtins.c | 1 - 1 file changed, 1 deletion(-) diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c index 08972e5ea7e..59e4c5d4290 100644 --- a/programs/cmd/builtins.c +++ b/programs/cmd/builtins.c @@ -464,7 +464,6 @@ char condition[MAX_PATH], *command, *s; } if (!lstrcmpi (condition, "errorlevel")) { if (errorlevel >= atoi(WCMD_parameter (p, 1+negate, NULL))) test = 1; - return; WCMD_parameter (p, 2+negate, &command); } else if (!lstrcmpi (condition, "exist")) {