summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2018-05-27 08:26:28 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2018-05-27 18:17:50 +0000
commit0cfb4753b3c1e6e75e674a8dd306e7dfd1645765 (patch)
tree4e4f50dc6d9aa5b8f6a32502f1d1e82046f777c1 /lib
parentUpdating author section in manpages. (diff)
downloadcompute-tools-0cfb4753b3c1e6e75e674a8dd306e7dfd1645765.tar.xz
compute-tools-0cfb4753b3c1e6e75e674a8dd306e7dfd1645765.zip
Adding missing command variable in some container commands.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'lib')
-rwxr-xr-xlib/container/top2
-rwxr-xr-xlib/container/version2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/container/top b/lib/container/top
index 22a224a..31ec005 100755
--- a/lib/container/top
+++ b/lib/container/top
@@ -20,6 +20,8 @@
set -e
+COMMAND="$(basename ${0})"
+
Parameters ()
{
GETOPT_LONGOPTIONS="delay:,"
diff --git a/lib/container/version b/lib/container/version
index fe42216..543d6dc 100755
--- a/lib/container/version
+++ b/lib/container/version
@@ -20,6 +20,8 @@
set -e
+COMMAND="$(basename ${0})"
+
HOOKS="/etc/container-tools/hooks"
SHARE="/usr/share/container-tools"