summaryrefslogtreecommitdiff
path: root/dracut
diff options
context:
space:
mode:
Diffstat (limited to 'dracut')
-rwxr-xr-xdracut1
1 files changed, 1 insertions, 0 deletions
diff --git a/dracut b/dracut
index 91ca684..b438173 100755
--- a/dracut
+++ b/dracut
@@ -145,6 +145,7 @@ fi
fw_dir=${fw_dir//:/ }
[[ $hostonly = yes ]] && hostonly="-h"
+[[ $hostonly != "-h" ]] && unset hostonly
if [[ -f $dracutbasedir/dracut-functions ]]; then
. $dracutbasedir/dracut-functions