summaryrefslogtreecommitdiff
path: root/modules.d
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-07-04 12:31:31 +0200
committerHarald Hoyer <harald@redhat.com>2013-07-04 12:31:31 +0200
commit431b86c8e970aab7136baa862a839f59d415f844 (patch)
tree402f88c31bb684b3a572d219d426b990c15837ed /modules.d
parentb093aa2dc72b3424be0b6720ac5069b9b1574f81 (diff)
downloaddracut-431b86c8e970aab7136baa862a839f59d415f844.tar.gz
dracut-431b86c8e970aab7136baa862a839f59d415f844.tar.bz2
dracut-431b86c8e970aab7136baa862a839f59d415f844.zip
masterkey/module-setup.sh:check() check for $hostonly rather than "-h"
Diffstat (limited to 'modules.d')
-rwxr-xr-xmodules.d/97masterkey/module-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/97masterkey/module-setup.sh b/modules.d/97masterkey/module-setup.sh
index e239cac8..fe6d5f47 100755
--- a/modules.d/97masterkey/module-setup.sh
+++ b/modules.d/97masterkey/module-setup.sh
@@ -3,7 +3,7 @@
# ex: ts=8 sw=4 sts=4 et filetype=sh
check() {
- [ "$1" = "-h" ] && {
+ [[ $hostonly ]] && {
[ -x "/bin/keyctl" ] || return 1
}