Am 29.03.2011 01:22, schrieb Amadeusz Żołnowski:
> Excerpts from Amadeusz Żołnowski's message of Tue Mar 29 00:52:16 +0200 2011:
>> +outfile="unset"
> 
> This is bad for file.

used this:

diff --git a/dracut b/dracut
index 6b67dc0..0324ac5 100755
--- a/dracut
+++ b/dracut
@@ -237,8 +237,9 @@ while (($# > 0)); do
                        ;;
         -*) printf "\nUnknown option: %s\n\n" "$1" >&2; usage; exit 1;;
         *)
-            if ! [[ $outfile ]]; then
+            if ! [[ $outfile_set ]]; then
                 outfile=$1
+                outfile_set=y
             elif [[ $kernel = "unset" ]]; then
                 kernel=$1
             else
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to