diff --git a/scripts/services b/scripts/services index d35a8033..f015261b 100755 --- a/scripts/services +++ b/scripts/services @@ -107,8 +107,8 @@ sort_service_list() { SORTED_LIST="$(mktemp)" log_debug "SORTED_LIST = $SORTED_LIST" - grep '/etc/ngcp-config/templates/etc/monit/.*services' "${NORMALIZED_FILES}" > "${SORTED_LIST}" - grep -v '/etc/ngcp-config/templates/etc/monit/.*services' "${NORMALIZED_FILES}" >> "${SORTED_LIST}" + grep '/etc/ngcp-config/templates/etc/monit/.*services' "${NORMALIZED_FILES}" > "${SORTED_LIST}" || true + grep -v '/etc/ngcp-config/templates/etc/monit/.*services' "${NORMALIZED_FILES}" >> "${SORTED_LIST}" || true } execute() {