mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 20:34:07 +08:00
fix typo introduced by an earlier revert
This commit is contained in:
parent
ef25d8c76d
commit
886fc38d55
|
@ -203,7 +203,7 @@ static int validate_cmd_opts(const wchar_t *cmd, set_cmd_opts_t &opts, //!OCLIN
|
|||
static int check_global_scope_exists(const wchar_t *cmd, set_cmd_opts_t &opts, const wchar_t *dest,
|
||||
io_streams_t &streams) {
|
||||
if (opts.universal) {
|
||||
env_var_t global_dest = env_get(dest, ENV_GLOBAL);
|
||||
env_var_t global_dest = env_get_string(dest, ENV_GLOBAL);
|
||||
if (!global_dest.missing() && shell_is_interactive()) {
|
||||
streams.err.append_format(BUILTIN_SET_UVAR_ERR, cmd, dest);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user