diff options
-rw-r--r-- | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,8 +5,9 @@ #include <fcntl.h> #include <getopt.h> #include <limits.h> -#include <unistd.h> #include <stdio.h> +#include <stdlib.h> +#include <unistd.h> #include "aports-cache.h" @@ -22,6 +23,7 @@ static void usage(int exitcode) " -v,--verbose enable verbose mode\n" " -s,--shell PROG use PROG as shell instead of /bin/sh\n" "\n", program_invocation_name); + exit(exitcode); } int main(int argc, char *argv[]) |