diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-04-07 10:43:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-04-16 10:19:47 +0000 |
commit | 78777a81db86809247dacd7fec55562e64681fee (patch) | |
tree | c0b5a431b2cfbfe3ee1a19021c8079153bcff370 /lib/container | |
parent | Dropping unused syslog.target from container-autostart.service file. (diff) | |
download | compute-tools-78777a81db86809247dacd7fec55562e64681fee.tar.xz compute-tools-78777a81db86809247dacd7fec55562e64681fee.zip |
Excluding lost+found directory in container list command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'lib/container')
-rwxr-xr-x | lib/container/list | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container/list b/lib/container/list index 374942c..110e6ea 100755 --- a/lib/container/list +++ b/lib/container/list @@ -34,7 +34,7 @@ then fi # Run -CONTAINERS="$(cd "${MACHINES}" && find -maxdepth 1 -type d -printf '%P\n' | sort)" +CONTAINERS="$(cd "${MACHINES}" && find -maxdepth 1 -type d -and -not -name 'lost+found' -printf '%P\n' | sort)" echo RUNNING |