Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2019 03:50:13 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349451 - head/contrib/ipfilter/tools
Message-ID:  <201906270350.x5R3oDlg005553@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906270350.x5R3oDlg005553>