diff options
author | 2012-01-12 04:01:08 +0530 | |
---|---|---|
committer | 2012-01-12 04:01:08 +0530 | |
commit | 7f49d37a5176b11ca6d5f7b40b4405000d4e3c3f (patch) | |
tree | e6006ce2940141675ffc84d0f60ee3165f7d257c | |
parent | 9f8a1168e6db0788e5741bd97b1bd1d9e443116d (diff) |
Modified exec.cpp to use env_get_string()
-rw-r--r-- | exec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1740,7 +1740,7 @@ int exec_subshell( const wchar_t *cmd, CHECK( cmd, -1 ); - ifs = env_get(L"IFS"); + ifs = env_get_string(L"IFS").empty()?NULL:env_get_string(L"IFS"); if( ifs && ifs[0] ) { |