xcopy: Do not ignore errors caused by processing parameters.

This commit is contained in:
Alexandre Julliard 2010-06-10 11:24:06 +02:00
parent ffb29fd335
commit b7da23eb29
1 changed files with 4 additions and 2 deletions

View File

@ -261,11 +261,13 @@ int wmain (int argc, WCHAR *argvW[])
WINE_TRACE("Destination : '%s'\n", wine_dbgstr_w(supplieddestination)); WINE_TRACE("Destination : '%s'\n", wine_dbgstr_w(supplieddestination));
/* Extract required information from source specification */ /* Extract required information from source specification */
XCOPY_ProcessSourceParm(suppliedsource, sourcestem, sourcespec, flags); rc = XCOPY_ProcessSourceParm(suppliedsource, sourcestem, sourcespec, flags);
if (rc != RC_OK) return rc;
/* Extract required information from destination specification */ /* Extract required information from destination specification */
XCOPY_ProcessDestParm(supplieddestination, destinationstem, rc = XCOPY_ProcessDestParm(supplieddestination, destinationstem,
destinationspec, sourcespec, flags); destinationspec, sourcespec, flags);
if (rc != RC_OK) return rc;
/* Trace out the resulting information */ /* Trace out the resulting information */
WINE_TRACE("Resolved parameters:\n"); WINE_TRACE("Resolved parameters:\n");