From 0f464b850074915137fc8a27d973cf8e4e30d751 Mon Sep 17 00:00:00 2001 From: Josh Poimboeuf Date: Tue, 1 Apr 2014 07:16:12 -0500 Subject: [PATCH] kpatch-build: add "no patch file specified" error --- kpatch-build/kpatch-build | 1 + 1 file changed, 1 insertion(+) diff --git a/kpatch-build/kpatch-build b/kpatch-build/kpatch-build index 0f50a78..09d334c 100755 --- a/kpatch-build/kpatch-build +++ b/kpatch-build/kpatch-build @@ -121,6 +121,7 @@ while [[ $# -gt 0 ]]; do ;; --) if [[ -z "$2" ]]; then + echo "ERROR: no patch file specified" >&2 usage exit 1 fi