diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-01-16 09:43:34 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-01-16 09:43:34 -0800 |
commit | c647bed9d51919364614f009be44489309910b17 (patch) | |
tree | cbda2afc871dc4794a30e147fb90f11cd7c58b6b /exec.cpp | |
parent | 55091d9deb19a1018a1740f0fff3ae1751248f65 (diff) |
Fix for bogus check for IFS environment variable
Diffstat (limited to 'exec.cpp')
-rw-r--r-- | exec.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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() ) { |