From e72bb38b9db3d9384398455c1a8e2dcf30140263 Mon Sep 17 00:00:00 2001 From: Carlos Santos Date: Sun, 15 Apr 2018 23:29:22 -0300 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni --- package/dmraid/S20dmraid | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.30.2