From 11d99e7257094606d36e86429f08ae4fdd6471c5 Mon Sep 17 00:00:00 2001 From: universe II Date: Thu, 25 Feb 2016 22:24:42 +0100 Subject: [PATCH] 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 --- package/netsnmp/S59snmpd | 3 +-- 1 file changed, 1 insertion(+), 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 # -set -e export PATH=/sbin:/usr/sbin:/bin:/usr/bin