dracut.sh: output unknown argument
authorHarald Hoyer <harald@redhat.com>
Fri, 15 Jun 2012 09:11:10 +0000 (11:11 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 15 Jun 2012 09:11:10 +0000 (11:11 +0200)
dracut.sh

index c26e0f8..309fd7d 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -289,6 +289,7 @@ while (($# > 0)); do
             elif ! [[ ${kernel+x} ]]; then
                 kernel=$1
             else
+                echo "Unknown argument: $1"
                 usage; exit 1;
             fi
             ;;