mirror of
https://github.com/reactos/reactos.git
synced 2026-06-20 09:32:15 +08: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:
committed by
Hermès Bélusca-Maïto
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