mirror of https://github.com/dynup/kpatch
kpatch-build: add "no patch file specified" error
This commit is contained in:
parent
ece4124a45
commit
0f464b8500
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue