summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-12-12 16:36:30 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-12-12 16:36:30 +0000
commit10487312eaf7ac68c88ba35bdc30edc51b36f3ac (patch)
treee4833a5eb556f52d729045a9d6b7ed27318e79af
parentAdding interactive option to container update command to ease skipping contai... (diff)
downloadcompute-tools-10487312eaf7ac68c88ba35bdc30edc51b36f3ac.tar.xz
compute-tools-10487312eaf7ac68c88ba35bdc30edc51b36f3ac.zip
Making name argument mandatory in container update command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rwxr-xr-xlibexec/container/update5
1 files changed, 5 insertions, 0 deletions
diff --git a/libexec/container/update b/libexec/container/update
index 077160c..c5ff6c2 100755
--- a/libexec/container/update
+++ b/libexec/container/update
@@ -98,6 +98,11 @@ Usage ()
Parameters "${@}"
+if [ -z "${NAME}" ]
+then
+ Usage
+fi
+
Notification ()
{
TYPE="${1}"