dmraid: 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>
This commit is contained in:
parent
48e688ac16
commit
e72bb38b9d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user