[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:
William Kent
2022-05-05 17:21:54 +02:00
co-authored by Serge Gautherie
parent 0ebad9f3c5
commit 212cbb6fff
+1 -1
View File
@@ -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;
}