From: Harald Hoyer Date: Tue, 29 Mar 2011 08:52:22 +0000 (+0200) Subject: Revert "dracut: don't skip zero-length string outfile argument" X-Git-Tag: 010~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1080ce600a32fa83b76f862735a2458ae033f5f9;p=thirdparty%2Fdracut.git Revert "dracut: don't skip zero-length string outfile argument" This reverts commit 0dd37f13c5cf507dbc6fd68605784ce350ef15cd. --- diff --git a/dracut b/dracut index 0324ac531..6b67dc039 100755 --- a/dracut +++ b/dracut @@ -237,9 +237,8 @@ while (($# > 0)); do ;; -*) printf "\nUnknown option: %s\n\n" "$1" >&2; usage; exit 1;; *) - if ! [[ $outfile_set ]]; then + if ! [[ $outfile ]]; then outfile=$1 - outfile_set=y elif [[ $kernel = "unset" ]]; then kernel=$1 else