diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-11-24 15:16:45 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-11-24 15:16:45 +0000 |
commit | f11642b77c11aad12554dfcdf2e8da6dbc1f0349 (patch) | |
tree | f599dfffc773b3f464ec1dd429ebd5040e640802 /sysutils | |
parent | d3572ef14017d00efa7bca9f7e8c0a229088bac1 (diff) | |
download | ports-f11642b77c11aad12554dfcdf2e8da6dbc1f0349.tar.gz ports-f11642b77c11aad12554dfcdf2e8da6dbc1f0349.zip |
- Fix exits with wrong error code
- Bump PORTREVISION
PR: 162581
Submitted by: Ivan Voras <ivoras@gmail.com>
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=286370
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/monitord/Makefile | 2 | ||||
-rw-r--r-- | sysutils/monitord/files/patch-ab | 15 |
2 files changed, 14 insertions, 3 deletions
diff --git a/sysutils/monitord/Makefile b/sysutils/monitord/Makefile index 2580a14a9f30..f2d76d16d082 100644 --- a/sysutils/monitord/Makefile +++ b/sysutils/monitord/Makefile @@ -7,7 +7,7 @@ PORTNAME= monitord PORTVERSION= 0.4.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.erudition.net/pub/monitord/ CENKES diff --git a/sysutils/monitord/files/patch-ab b/sysutils/monitord/files/patch-ab index 64ec4d7c9f25..6561b7ac9d79 100644 --- a/sysutils/monitord/files/patch-ab +++ b/sysutils/monitord/files/patch-ab @@ -1,5 +1,16 @@ ---- monitord.c.orig Fri Jan 17 03:39:44 2003 -+++ monitord.c Thu Sep 23 17:23:02 2004 +--- monitord.c.orig 2003-01-16 21:39:44.000000000 +0000 ++++ monitord.c 2011-11-24 23:12:13.468148722 +0000 +@@ -85,8 +85,8 @@ + setsid (); + break; + } +- default: +- exit(1); ++ default: // The parent exits ++ exit(0); + } + + /* Read the configuration file, saving it in *file[] and return the number of lines @@ -454,13 +454,13 @@ struct timeval *tp; |