scripts/headers_install.sh: fix error handling
[cascardo/linux.git] / scripts / headers_install.sh
index 5de5660..fdebd66 100644 (file)
@@ -1,8 +1,8 @@
 #!/bin/sh
 
-if [ $# -lt 1 ]
+if [ $# -lt 2 ]
 then
-       echo "Usage: headers_install.sh OUTDIR SRCDIR [FILES...]
+       echo "Usage: headers_install.sh OUTDIR SRCDIR [FILES...]"
        echo
        echo "Prepares kernel header files for use by user space, by removing"
        echo "all compiler.h definitions and #includes, removing any"