mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Fix for bogus check for IFS environment variable
This commit is contained in:
parent
55091d9deb
commit
c647bed9d5
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() )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user