Don't bail out for unparsable environment variables.
Modified: branches/cache_manager_rewrite/reactos/subsys/system/cmd/cmd.c

Modified: branches/cache_manager_rewrite/reactos/subsys/system/cmd/cmd.c
--- branches/cache_manager_rewrite/reactos/subsys/system/cmd/cmd.c	2005-11-19 18:01:10 UTC (rev 19345)
+++ branches/cache_manager_rewrite/reactos/subsys/system/cmd/cmd.c	2005-11-19 18:53:38 UTC (rev 19346)
@@ -1308,11 +1308,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))