X-Git-Url: https://git.cworth.org/git?p=fips;a=blobdiff_plain;f=fips.c;h=dbb8158b6ea0eee2b79ffed8b1dbb31f46802acc;hp=ce76e31421a586032012ae52dbaad8aabede699f;hb=07d2b55d88742b0ca38507daae7101619f0b96d5;hpb=e0072d01d5353d23d2e344c5bbb40ba0c8cb4241 diff --git a/fips.c b/fips.c index ce76e31..dbb8158 100644 --- a/fips.c +++ b/fips.c @@ -24,6 +24,8 @@ #include #include +#include "execute.h" + static void usage (void) { @@ -39,7 +41,8 @@ usage (void) int main (int argc, char *argv[]) { - int opt; + int opt, ret; + const char *short_options = "h"; const struct option long_options[] = { {"help", no_argument, 0, 'h'}, @@ -71,7 +74,9 @@ main (int argc, char *argv[]) exit (1); } - return 0; + ret = execute (argc - optind, &argv[optind]); + + return ret; }