summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/mk-dd3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/mk-dd b/scripts/mk-dd
index 8a9f369a8..271a86b1d 100755
--- a/scripts/mk-dd
+++ b/scripts/mk-dd
@@ -36,11 +36,12 @@ modversions=$(rpm -ql kernel-source-$version | grep modversions.h)
usage() {
echo "usage: ./mk-dd <source.c> <kernel-version>"
+ exit 1
}
if [ ! -x /usr/lib/anaconda-runtime/modlist -o ! -f /usr/lib/anaconda-runtime/loader/module-info ]; then
echo "You need to have anaconda-runtime installed."
- usage()
+ usage
fi
if [ ! -f "$srcname" -o ! -f $modversions ]; then