You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/packit/files/packit-1.0-noopt.patch

11 lines
214 B

--- a/src/main.c
+++ b/src/main.c
@@ -201,6 +201,7 @@
#ifdef DEBUG
fprintf(stdout, "DEBUG: parse_inject\n");
#endif
+ if (!opts) print_usage();
while((opt = getopt(argc, argv, opts)) != -1)
{