[Buildroot] [PATCH 2/4] Package netsnmp: Removed 'set -e'

Andreas Ehmanns universeII at gmx.de
Thu Feb 25 21:24:42 UTC 2016


set -e has been removed from 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 at gmx.de>
---
 package/netsnmp/S59snmpd | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/package/netsnmp/S59snmpd b/package/netsnmp/S59snmpd
index cfda625..2762082 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 at scram.de>
 #
-set -e
 
 export PATH=/sbin:/usr/sbin:/bin:/usr/bin
 
-- 
2.1.4




More information about the buildroot mailing list