From 5c913341e2bb6cf1a2c32e9cb520e6a972b2e035 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 23 Jun 2010 09:10:49 +0200 Subject: [PATCH] Fixed: #998 bnp_make returns 1 when successful --- code/nel/tools/misc/bnp_make/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/nel/tools/misc/bnp_make/main.cpp b/code/nel/tools/misc/bnp_make/main.cpp index c1fb19a65..d2a64b2c7 100644 --- a/code/nel/tools/misc/bnp_make/main.cpp +++ b/code/nel/tools/misc/bnp_make/main.cpp @@ -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 ();