Sfoglia il codice sorgente

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>
universe II 9 anni fa
parent
commit
11d99e7257
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      package/netsnmp/S59snmpd

+ 1 - 2
package/netsnmp/S59snmpd

@@ -1,4 +1,4 @@
-#! /bin/sh -e
+#! /bin/sh
 ### BEGIN INIT INFO
 ### BEGIN INIT INFO
 # Provides:           snmpd snmptrapd
 # Provides:           snmpd snmptrapd
 # Required-Start:     $network $local_fs
 # Required-Start:     $network $local_fs
@@ -11,7 +11,6 @@
 #
 #
 # Author:    Jochen Friedrich <jochen@scram.de>
 # Author:    Jochen Friedrich <jochen@scram.de>
 #
 #
-set -e
 
 
 export PATH=/sbin:/usr/sbin:/bin:/usr/bin
 export PATH=/sbin:/usr/sbin:/bin:/usr/bin