diff options
author | Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> | 2018-05-17 11:34:49 +0200 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2018-05-17 09:41:11 +0000 |
commit | c2d068d4b7b28cb6f4f52f30a4973f025f35f781 (patch) | |
tree | 5535bd0b9fb9e3f969931de40c77781bc047a85e /tcwg-base | |
parent | bd8dbb89e84c932c343827bb1898c11d47dd1367 (diff) |
tcwg-dev: Check if image option is provided.
Change-Id: If113c7b9ce57cf15bac15f9b306f37a89cd749ab
Diffstat (limited to 'tcwg-base')
-rwxr-xr-x | tcwg-base/tcwg-dev/start.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tcwg-base/tcwg-dev/start.sh b/tcwg-base/tcwg-dev/start.sh index e36c8516..4eb721dc 100755 --- a/tcwg-base/tcwg-dev/start.sh +++ b/tcwg-base/tcwg-dev/start.sh @@ -56,6 +56,11 @@ if $verbose; then set -x fi +if [ x"$image" = x"" ]; then + echo "ERROR: image name not provided" + usage +fi + if groups tcwg-buildslave 2>/dev/null | grep -q docker; then # If tcwg-buildslave user is present, use it to start the container # to have [sudo] log record of container startups. |