diff options
author | miwi <miwi@FreeBSD.org> | 2011-11-24 23:16:45 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2011-11-24 23:16:45 +0800 |
commit | 8df32137746dba78e5a381b968dd6f976ed4cbf5 (patch) | |
tree | eb8bcdff88ebf1bac2f1191aa84ad3c254a8fd9e /sysutils/monitord | |
parent | 4cfdd26d05262e97376f9e359a65f5bdb1ff4b0e (diff) | |
download | freebsd-ports-gnome-8df32137746dba78e5a381b968dd6f976ed4cbf5.tar.gz freebsd-ports-gnome-8df32137746dba78e5a381b968dd6f976ed4cbf5.tar.zst freebsd-ports-gnome-8df32137746dba78e5a381b968dd6f976ed4cbf5.zip |
- Fix exits with wrong error code
- Bump PORTREVISION
PR: 162581
Submitted by: Ivan Voras <ivoras@gmail.com>
Feature safe: yes
Diffstat (limited to 'sysutils/monitord')
-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; |