22 lines
594 B
Diff
22 lines
594 B
Diff
|
From 1d2c070071996dc6a31e4981b770e01746fa0ff0 Mon Sep 17 00:00:00 2001
|
||
|
From: Harald Hoyer <harald@redhat.com>
|
||
|
Date: Fri, 15 Jun 2012 11:11:10 +0200
|
||
|
Subject: [PATCH] dracut.sh: output unknown argument
|
||
|
|
||
|
---
|
||
|
dracut.sh | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/dracut.sh b/dracut.sh
|
||
|
index c26e0f8..309fd7d 100755
|
||
|
--- 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
|
||
|
;;
|