diff mbox series

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

Message ID 20180416022944.13644-5-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/dmraid/S20dmraid | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/package/dmraid/S20dmraid b/package/dmraid/S20dmraid
index fd2ad9e845..b3bfdcc84b 100644
--- a/package/dmraid/S20dmraid
+++ b/package/dmraid/S20dmraid
@@ -2,8 +2,6 @@ 
 
 set -e
 
-[ -x /usr/sbin/dmraid ] || exit 0
-
 # try to load module in case that hasn't been done yet
 modprobe dm-mod >/dev/null 2>&1