From: Victor Lowther Date: Fri, 13 Feb 2009 12:42:13 +0000 (-0800) Subject: [PATCH 18/50] outfile processing can fit all on one line, so make it. X-Git-Tag: 0.1~460 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=95994c57c572c4442f911560fe5cbedead2df56e;p=thirdparty%2Fdracut.git [PATCH 18/50] outfile processing can fit all on one line, so make it. --- diff --git a/dracut b/dracut index ae53caf3e..84abdb5e3 100755 --- a/dracut +++ b/dracut @@ -24,8 +24,7 @@ while (($# > 0)); do done [[ $2 ]] && kernel=$2 || kernel=$(uname -r) -[[ $1 ]] && outfile=$(readlink -f $1) || \ - outfile="/boot/initrd-$kernel.img" +[[ $1 ]] && outfile=$(readlink -f $1) || outfile="/boot/initrd-$kernel.img" if [[ -f $outfile && ! $force ]]; then echo "Will not override existing initramfs ($outfile) without --force"