mkinitrd-dracut.sh: s/read_args/read_arg/g
authorHarald Hoyer <harald@redhat.com>
Thu, 5 Jan 2012 09:51:00 +0000 (10:51 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 5 Jan 2012 09:51:00 +0000 (10:51 +0100)
https://bugzilla.redhat.com/show_bug.cgi?id=771106

mkinitrd-dracut.sh

index b635a53..02f1a7f 100644 (file)
@@ -49,10 +49,10 @@ while (($# > 0)); do
             exit 0;;
         -v|--verbose) dracut_args="${dracut_args} -v";;
         -f|--force) dracut_args="${dracut_args} -f";;
-        --preload) read_args modname "$@" || shift
+        --preload) read_arg modname "$@" || shift
             basicmodules="$basicmodules $modname";;
         --image-version) img_vers=yes;;
-        --rootfs) read_args rootfs "$@" || shift
+        --rootfs) read_arg rootfs "$@" || shift
             dracut_args="${dracut_args} --filesystems $rootfs";;
         --nocompress) dracut_args="$dracut_args --no-compress";;
         --help) usage -n;;