xcopy: Do not ignore errors caused by processing parameters.
This commit is contained in:
parent
ffb29fd335
commit
b7da23eb29
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue