Skip to content

Commit

Permalink
set ERRORLEVEL initially
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Mar 16, 2024
1 parent 04f4a97 commit 7692e71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -4798,6 +4798,7 @@ int main(int argc, const char *argv[], const char *envp[])
setenv("COMSPEC", cmd_path, 1);
free(cmd_path);
setenv("COMCOM_VER", version, 1);
setenv("ERRORLEVEL", "0", 1);

// process arguments
for (a = 1; a < argc; a++)
Expand Down

0 comments on commit 7692e71

Please sign in to comment.