Don't bail out for unparsable environment variables.
Modified: trunk/reactos/subsys/system/cmd/cmd.c
--- trunk/reactos/subsys/system/cmd/cmd.c 2005-11-19 18:55:00 UTC (rev 19347) +++ trunk/reactos/subsys/system/cmd/cmd.c 2005-11-19 18:58:04 UTC (rev 19348) @@ -1319,11 +1319,11 @@
{ UINT envNameLen; LPCTSTR envVal = GetParsedEnvVar ( ip, &envNameLen, bModeSetA );
- if ( !envVal )
- return 1;
- ip += envNameLen;
- cp = _stpcpy ( cp, envVal );
- continue;
+ if ( envVal )
+ {
+ ip += envNameLen;
+ cp = _stpcpy ( cp, envVal );
+ }
} if (_istcntrl (*ip))