From f29674e86fa6f80d15ede6ad1abdf6168187096f Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Sun, 19 Dec 2010 23:13:34 +0100 Subject: [PATCH] cmd: Do not reset errorlevel during SET. --- programs/cmd/builtins.c | 1 - 1 file changed, 1 deletion(-) diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c index 7c35e6ad6f9..944a9970867 100644 --- a/programs/cmd/builtins.c +++ b/programs/cmd/builtins.c @@ -2265,7 +2265,6 @@ void WCMD_setshow_env (WCHAR *s) { int status; static const WCHAR parmP[] = {'/','P','\0'}; - errorlevel = 0; if (param1[0] == 0x00 && quals[0] == 0x00) { env = GetEnvironmentStringsW(); WCMD_setshow_sortenv( env, NULL );