X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=fips.c;h=02f67bb80fd1e6983d4680d132f19c966f2e8065;hb=5381d581fe6d0c79a485f3179cd5505b7efb9336;hp=ce76e31421a586032012ae52dbaad8aabede699f;hpb=5e4afc13a1514f253373e7054ef025baef9b0ed0;p=fips diff --git a/fips.c b/fips.c index ce76e31..02f67bb 100644 --- a/fips.c +++ b/fips.c @@ -19,11 +19,13 @@ * THE SOFTWARE. */ -#include -#include +#include "fips.h" + #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_with_fips_preload (argc - optind, &argv[optind]); + + return ret; }