mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
Fix for bogus check for IFS environment variable
This commit is contained in:
3
exec.cpp
3
exec.cpp
@@ -1744,8 +1744,7 @@ int exec_subshell( const wchar_t *cmd,
|
||||
char sep=0;
|
||||
|
||||
CHECK( cmd, -1 );
|
||||
// ifs = env_get(L"IFS");
|
||||
const env_var_t ifs = env_get_string(L"IFS").empty()?NULL:env_get_string(L"IFS").c_str();
|
||||
const env_var_t ifs = env_get_string(L"IFS");
|
||||
|
||||
if( ! ifs.missing_or_empty() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user