diff --git a/dracut.sh b/dracut.sh index a4406dd9..f1821e4a 100755 --- a/dracut.sh +++ b/dracut.sh @@ -1,4 +1,4 @@ -#!/bin/bash --norc +#!/bin/bash -p # # Generator script for a dracut initramfs # Tries to retain some degree of compatibility with the command line @@ -23,6 +23,8 @@ # store for logging +unset BASH_ENV + # Verify bash version, current minimum is 4 if (( BASH_VERSINFO[0] < 4 )); then printf -- 'You need at least Bash 4 to use dracut, sorry.' >&2