Fixed: #998 bnp_make returns 1 when successful
This commit is contained in:
parent
9e67bcf9a2
commit
60798238e3
1 changed files with 3 additions and 3 deletions
|
@ -359,7 +359,7 @@ int main (int nNbArg, char **ppArgs)
|
|||
gBNPHeader.OffsetFromBeginning = 0;
|
||||
packSubRecurse();
|
||||
gBNPHeader.append (gDestBNPFile);
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((strcmp(ppArgs[1], "/u") == 0) || (strcmp(ppArgs[1], "/U") == 0) ||
|
||||
|
@ -405,7 +405,7 @@ int main (int nNbArg, char **ppArgs)
|
|||
|
||||
unpack (dirName);
|
||||
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((strcmp(ppArgs[1], "/l") == 0) || (strcmp(ppArgs[1], "/L") == 0) ||
|
||||
|
@ -450,7 +450,7 @@ int main (int nNbArg, char **ppArgs)
|
|||
for (i = 0; i < gBNPHeader.Files.size(); ++i)
|
||||
printf ("%s\n", gBNPHeader.Files[i].Name.c_str());
|
||||
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
usage ();
|
||||
|
|
Loading…
Reference in a new issue