aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2019-08-29 13:34:49 -0500
committerjhh <jorge.hernandez-herrero@att.com>2019-08-29 15:11:44 -0500
commit3c9d3dbbe614e4eecd7c2031a0185671cbf8a1bf (patch)
tree64ab19362295a01be640766723e35a1117e88000 /controlloop
parentc08643d82c6f615da747a8b4dedaac77277d4433 (diff)
entrypoint: redirect std[out|err] to dev/null
Issue-ID: POLICY-1371 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I8b4da1523925bbbbbed398365971c9efb7f6f1aa Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'controlloop')
-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