aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh b/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh
index 0c7fab9f8..684c201ea 100644
--- a/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh
+++ b/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh
@@ -25,7 +25,7 @@ function configurations {
local confName
- if ! ls "${POLICY_INSTALL_INIT}"/*.conf 2>&1; then
+ if ! ls "${POLICY_INSTALL_INIT}"/*.conf > /dev/null 2>&1; then
return 0
fi
@@ -45,7 +45,7 @@ function features {
set -x
fi
- if ! ls "${POLICY_INSTALL_INIT}"/features*.zip 2>&1; then
+ if ! ls "${POLICY_INSTALL_INIT}"/features*.zip > /dev/null 2>&1; then
return 0
fi
@@ -65,7 +65,7 @@ function scripts {
local scriptExtSuffix=${1:-"sh"}
- if ! ls "${POLICY_INSTALL_INIT}"/*."${scriptExtSuffix}" 2>&1; then
+ if ! ls "${POLICY_INSTALL_INIT}"/*."${scriptExtSuffix}" > /dev/null 2>&1; then
return 0
fi
@@ -111,7 +111,7 @@ function properties {
set -x
fi
- if ! ls "${POLICY_INSTALL_INIT}"/*.properties 2>&1; then
+ if ! ls "${POLICY_INSTALL_INIT}"/*.properties > /dev/null 2>&1; then
return 0
fi