From: universe II Date: Thu, 25 Feb 2016 21:24:42 +0000 (+0100) Subject: netsnmp: remove 'set -e' from init script X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11d99e7257094606d36e86429f08ae4fdd6471c5;p=buildroot.git 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 Reviewed-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- 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 # -set -e export PATH=/sbin:/usr/sbin:/bin:/usr/bin