net-snmp/SOURCES/net-snmp-5.9-usage-exit.patch
2022-05-17 17:04:30 +00:00

13 lines
281 B
Diff

diff --git a/agent/snmpd.c b/agent/snmpd.c
index ae73eda..f01b890 100644
--- a/agent/snmpd.c
+++ b/agent/snmpd.c
@@ -289,6 +289,7 @@ usage(char *prog)
" -S d|i|0-7\t\tuse -Ls <facility> instead\n"
"\n"
);
+ exit(1);
}
static void