Author: cy
Date: Thu Jun 27 03:50:13 2019
New Revision: 349451
URL: https://svnweb.freebsd.org/changeset/base/349451
Log:
Return a return code scripts might expect. I missed this while
reviewing and rewriting a patch in PR/238816.
PR: 238816
Reported by: rgrimes@
Pointy hat to: cy@
MFC after: 1 week
X-MFC with: r349450
Modified:
head/contrib/ipfilter/tools/ipmon.c
Modified: head/contrib/ipfilter/tools/ipmon.c
==============================================================================
--- head/contrib/ipfilter/tools/ipmon.c Thu Jun 27 02:43:30 2019
(r349450)
+++ head/contrib/ipfilter/tools/ipmon.c Thu Jun 27 03:50:13 2019
(r349451)
@@ -1442,7 +1442,7 @@ static void usage(prog)
"\t[ -f <device> ] [ -L <facility> ] [ -N <device> ]\n"
"\t[ -o [NSI] ] [ -O [NSI] ] [ -P <pidfile> ] [ -S <device> ]\n"
"\t[ <filename> ]\n", prog);
- exit(-1);
+ exit(1);
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"