mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Fix for bogus check for IFS environment variable
This commit is contained in:
parent
55091d9deb
commit
c647bed9d5
1 changed files with 1 additions and 2 deletions
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 a new issue