diff mbox series

[09/26] mpd: don't test if the binary exists in the init script

Message ID 20180416022944.13644-10-casantos@datacom.ind.br
State Accepted
Headers show
Series init scripts: don't test if binaries exist | expand

Commit Message

Carlos Santos April 16, 2018, 2:29 a.m. UTC
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>
---
 package/mpd/S95mpd | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/package/mpd/S95mpd b/package/mpd/S95mpd
index 9f68b45837..a258930b3e 100644
--- a/package/mpd/S95mpd
+++ b/package/mpd/S95mpd
@@ -1,7 +1,6 @@ 
 #!/bin/sh
 
 # Sanity checks
-test -f /usr/bin/mpd || exit 0
 test -f /etc/mpd.conf || exit 0
 
 start() {