aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--exec.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/exec.cpp b/exec.cpp
index f82e66e3..4f4a4993 100644
--- a/exec.cpp
+++ b/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() )
{