summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-06 08:07:29 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-06 08:33:48 +0000
commit786556dbf9e0f4180d6d7bc6130f0bb3cfc094a4 (patch)
tree918ac57ca34ec7fa4fe170b73bb112ee948064e5
parentUpdating container list command to use systemd-networkd config instead of ifu... (diff)
downloadcompute-tools-786556dbf9e0f4180d6d7bc6130f0bb3cfc094a4.tar.xz
compute-tools-786556dbf9e0f4180d6d7bc6130f0bb3cfc094a4.zip
Excluding symlinks in container-shell command list.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rwxr-xr-xbin/container-shell2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/container-shell b/bin/container-shell
index da91c76..9b45f72 100755
--- a/bin/container-shell
+++ b/bin/container-shell
@@ -63,7 +63,7 @@ Shell ()
echo
cd "/usr/lib/${SOFTWARE}/${PROGRAM}"
- echo "$(for COMMAND in about logout *; do echo ${COMMAND}; done | sort)"
+ find . -type f -printf "%f\n" | sort
cd "${OLDPWD}"
echo