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>
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
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
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
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