mirror of
https://github.com/zoriya/ash.git
synced 2025-12-06 06:36:17 +00:00
Fixing a segfault
This commit is contained in:
@@ -90,7 +90,7 @@ bool command_format_is_invalid(char **cmds, env_t *env, int *return_values)
|
||||
env->vars = my_setenv(env->vars, "?", "1");
|
||||
return (true);
|
||||
} else if (redirections_are_invalid(cmds[i])) {
|
||||
env->env = my_setenv(env->vars, "?", "1");
|
||||
env->vars = my_setenv(env->vars, "?", "1");
|
||||
return (true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user