From 1765b349ec4c9c847434af65ea79745c68796146 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Tue, 4 Nov 2014 14:02:34 +0100 Subject: [PATCH] MT#9971 fix commit 4733a4c68219. Don't fail by grep output Change-Id: I3ce158c36b69ddb5a051f0cbf95cc616ed5fbeaa (cherry picked from commit 8273b1328ac1250b76cbf8b15b0d0c1b9a2fd88a) --- scripts/services | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {