mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[CABMAN] Make cabman exit with non-zero exit code if argument parsing fails (#4022)
Co-authored-by: Serge Gautherie <[email protected]>
This commit is contained in:
co-authored by
Serge Gautherie
parent
0ebad9f3c5
commit
212cbb6fff
@@ -689,7 +689,7 @@ int main(int argc, char * argv[])
|
||||
CCABManager CABMgr;
|
||||
|
||||
if (!CABMgr.ParseCmdline(argc, argv))
|
||||
return false;
|
||||
return 2;
|
||||
|
||||
return CABMgr.Run() ? 0 : 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user