X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Ftools%2Fcabman%2Fdfp.cxx;h=c50058b2e1d998e4e9f2e03b6d6672ce1e6435ff;hp=09a7e0486228b6410daaec49e1bf314ddfc58e39;hb=6dfef1d2d742fc5cd181dee7db2be719c554219c;hpb=ab9cdfc5ddd0ebf389b58a2bc7b0912c08032105 diff --git a/reactos/tools/cabman/dfp.cxx b/reactos/tools/cabman/dfp.cxx index 09a7e048622..c50058b2e1d 100755 --- a/reactos/tools/cabman/dfp.cxx +++ b/reactos/tools/cabman/dfp.cxx @@ -1112,7 +1112,7 @@ unsigned long CDFParser::PerformFileCopy() WriteInfLine(InfLine); break; case CAB_STATUS_CANNOT_OPEN: - if (strchr(Options,'o')) + if (strstr(Options,"optional")) { Status = CAB_STATUS_SUCCESS; printf("Optional file does not exist: %s.\n", SrcName); @@ -1127,7 +1127,7 @@ unsigned long CDFParser::PerformFileCopy() printf("Cannot add file: %s (%lu).\n", SrcName, Status); break; } - return CAB_STATUS_SUCCESS; + return Status; }