summaryrefslogtreecommitdiffstats
path: root/modules.d/00warpclock/module-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/00warpclock/module-setup.sh')
-rwxr-xr-xmodules.d/00warpclock/module-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/00warpclock/module-setup.sh b/modules.d/00warpclock/module-setup.sh
index 44aa177..dd093f3 100755
--- a/modules.d/00warpclock/module-setup.sh
+++ b/modules.d/00warpclock/module-setup.sh
@@ -7,7 +7,7 @@ check() {
# hwclock does not exist on S390(x), bail out silently then
local _arch=${DRACUT_ARCH:-$(uname -m)}
- [ "$_arch" = "s390" -o "$_arch" = "s390x" ] && return 1
+ [ "$_arch" = "s390" ] || [ "$_arch" = "s390x" ] && return 1
# If the binary(s) requirements are not fulfilled the module can't be installed.
require_binaries hwclock || return 1