diff options
| author | universe II <universeii@gmx.de> | 2016-02-25 22:24:42 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-01 14:47:58 +0200 |
| commit | 11d99e7257094606d36e86429f08ae4fdd6471c5 (patch) | |
| tree | 47f3c8d332981a57ea228834e53461f64ef5bae6 | |
| parent | 291f3f948dbf3fdcbbd1f9d6fb00d1bac0bd92c5 (diff) | |
| download | buildroot-11d99e7257094606d36e86429f08ae4fdd6471c5.tar.gz buildroot-11d99e7257094606d36e86429f08ae4fdd6471c5.zip | |
netsnmp: remove 'set -e' from init script
This patch removes 'set -e' from the netsnmp init script since it causes
the init script to terminate if an error occurs. This prevents the
script to create an "FAIL" printout in case of an error.
Signed-off-by: Andreas Ehmanns <universeII@gmx.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| -rwxr-xr-x | package/netsnmp/S59snmpd | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/netsnmp/S59snmpd b/package/netsnmp/S59snmpd index cfda625fad..2762082476 100755 --- a/package/netsnmp/S59snmpd +++ b/package/netsnmp/S59snmpd @@ -1,4 +1,4 @@ -#! /bin/sh -e +#! /bin/sh ### BEGIN INIT INFO # Provides: snmpd snmptrapd # Required-Start: $network $local_fs @@ -11,7 +11,6 @@ # # Author: Jochen Friedrich <jochen@scram.de> # -set -e export PATH=/sbin:/usr/sbin:/bin:/usr/bin |

