mirror of
https://github.com/reactos/reactos.git
synced 2025-05-01 03:29:37 +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;
|
CCABManager CABMgr;
|
||||||
|
|
||||||
if (!CABMgr.ParseCmdline(argc, argv))
|
if (!CABMgr.ParseCmdline(argc, argv))
|
||||||
return false;
|
return 2;
|
||||||
|
|
||||||
return CABMgr.Run() ? 0 : 1;
|
return CABMgr.Run() ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue