Modified exec.cpp to use env_get_string()

This commit is contained in:
Siteshwar Vashisht
2012-01-12 04:01:08 +05:30
parent 9f8a1168e6
commit 7f49d37a51

View File

@@ -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] )
{