瀏覽代碼

transmission: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 296f148c15e8eac85a41b33558d879591663b2ed)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Carlos Santos 7 年之前
父節點
當前提交
d3814a9885
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      package/transmission/S92transmission

+ 0 - 3
package/transmission/S92transmission

@@ -51,9 +51,6 @@ DAEMON=$(which $NAME)
 PIDFILE=/var/run/$NAME.pid
 SCRIPTNAME=/etc/init.d/$NAME
 
-# Exit if the package is not installed
-[ -x "$DAEMON" ] || exit 0
-
 # Read configuration variable file if it is present
 [ -r /etc/default/$NAME ] && . /etc/default/$NAME