summaryrefslogtreecommitdiffstats
path: root/lib/container
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-04-07 10:43:03 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-04-16 10:19:47 +0000
commit78777a81db86809247dacd7fec55562e64681fee (patch)
treec0b5a431b2cfbfe3ee1a19021c8079153bcff370 /lib/container
parentDropping unused syslog.target from container-autostart.service file. (diff)
downloadcompute-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-xlib/container/list2
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