summaryrefslogtreecommitdiffstats
path: root/modules.d/90dmraid
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/90dmraid')
-rwxr-xr-xmodules.d/90dmraid/dmraid.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/90dmraid/dmraid.sh b/modules.d/90dmraid/dmraid.sh
index b517320..c12d92e 100755
--- a/modules.d/90dmraid/dmraid.sh
+++ b/modules.d/90dmraid/dmraid.sh
@@ -15,7 +15,7 @@ if [ -n "$DM_RAIDS" ] || getargbool 0 rd.auto; then
info "Scanning for dmraid devices $DM_RAIDS"
SETS=$(dmraid -c -s)
- if [ "$SETS" = "no raid disks" -o "$SETS" = "no raid sets" ]; then
+ if [ "$SETS" = "no raid disks" ] || [ "$SETS" = "no raid sets" ]; then
return
fi