Changed exit code from -1 to 0 when busybox is invoked with no args.

(Closes bug #1114.)
This commit is contained in:
Mark Whitley 2001-03-02 17:47:17 +00:00
parent 39842defda
commit 016771834a
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ int busybox_main(int argc, char **argv)
} }
} }
fprintf(stderr, "\n\n"); fprintf(stderr, "\n\n");
exit(-1); exit(0);
} }
/* Flag that we've been here already */ /* Flag that we've been here already */

View File

@ -166,7 +166,7 @@ int busybox_main(int argc, char **argv)
} }
} }
fprintf(stderr, "\n\n"); fprintf(stderr, "\n\n");
exit(-1); exit(0);
} }
/* Flag that we've been here already */ /* Flag that we've been here already */