summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlib/container/auto2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container/auto b/lib/container/auto
index 72b4290..dba868e 100755
--- a/lib/container/auto
+++ b/lib/container/auto
@@ -104,7 +104,7 @@ esac
for FILE in "${CONFIG}"/*.conf
do
- if grep -Eqs "^ *cnt.container-server=true" "${FILE}" || grep -Eqs "^ *cnt.container-server=${HOST}" "${FILE}"
+ if grep -Eqs "^ *cnt.auto=true" "${FILE}" && grep -Eqs "^ *cnt.container-server=${HOST}" "${FILE}"
then
CONTAINER="$(basename ${FILE} .conf)"