]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Revert "dracut: don't skip zero-length string outfile argument"
authorHarald Hoyer <harald@redhat.com>
Tue, 29 Mar 2011 08:52:22 +0000 (10:52 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 Mar 2011 08:52:22 +0000 (10:52 +0200)
This reverts commit 0dd37f13c5cf507dbc6fd68605784ce350ef15cd.

dracut

diff --git a/dracut b/dracut
index 0324ac531782657c2794a3d71e6378c477170970..6b67dc0392aa0528c63cecf4bdaf7e8552dae949 100755 (executable)
--- 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