repositories
/
mbt-docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30a42bd
)
build-image.sh: remove redundant exit calls
author
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 17 Oct 2022 13:07:47 +0000
(15:07 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 17 Oct 2022 13:07:47 +0000
(15:07 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
build-image.sh
patch
|
blob
|
blame
|
history
diff --git
a/build-image.sh
b/build-image.sh
index 14efb6a7a0f0541ec4b6706e4c246c6cf0f2fd4d..1ffbf30cc682879c6cf06dec77284030ddec0545 100755
(executable)
--- a/
build-image.sh
+++ b/
build-image.sh
@@
-24,18
+24,17
@@
while getopts "n:h" option; do
else
echo "Error: Unknown image name for option argument -${OPTARG}" >&2;
usage
- exit 1
fi
;;
\?)
# Invalid option
echo "Error: Unknown or invalid option argument for -${OPTARG}" >&2;
usage
-
exit 1
;;
+ ;;
:)
echo "Error: Missing option argument for -${OPTARG}" >&2;
usage
-
exit 1
;;
+ ;;
*|h)
usage
;;