mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[CABMAN] Make cabman exit with non-zero exit code if argument parsing fails (#4022)
Co-authored-by: Serge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
This commit is contained in:
parent
0ebad9f3c5
commit
212cbb6fff
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue