diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-11-06 08:07:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-11-06 08:33:48 +0000 |
commit | 786556dbf9e0f4180d6d7bc6130f0bb3cfc094a4 (patch) | |
tree | 918ac57ca34ec7fa4fe170b73bb112ee948064e5 | |
parent | Updating container list command to use systemd-networkd config instead of ifu... (diff) | |
download | compute-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-x | bin/container-shell | 2 |
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 |