kpatch-build: add "no patch file specified" error

This commit is contained in:
Josh Poimboeuf 2014-04-01 07:16:12 -05:00
parent ece4124a45
commit 0f464b8500
1 changed files with 1 additions and 0 deletions

View File

@ -121,6 +121,7 @@ while [[ $# -gt 0 ]]; do
;; ;;
--) --)
if [[ -z "$2" ]]; then if [[ -z "$2" ]]; then
echo "ERROR: no patch file specified" >&2
usage usage
exit 1 exit 1
fi fi