--- dracut-functions | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dracut-functions b/dracut-functions index c57174c..66e0e20 100755 --- a/dracut-functions +++ b/dracut-functions @@ -27,11 +27,11 @@ strstr() { [[ ! ${1#*$2*} = $1 ]]; } # Log initrd creation. if ! [[ $dracutlogfile ]]; then [[ $dsrc = /usr/share/dracut ]] && \ - dracutlogfile=/var/log/dracut.log || \ - dracutlogfile=/tmp/dracut.log + dracutlogfile=/var/log/dracut.log || \ + dracutlogfile=/tmp/dracut.log [[ -w $dracutlogfile ]] || dracutlogfile=/tmp/dracut.log >"$dracutlogfile" - fi +fi dwarning() { echo "W: $@" >&2 -- 1.6.0.4 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html