MT#9971 fix commit 4733a4c682. Don't fail by grep output

Change-Id: I3ce158c36b69ddb5a051f0cbf95cc616ed5fbeaa
changes/11/511/1
Victor Seva 11 years ago
parent 4733a4c682
commit 8273b1328a

@ -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() {

Loading…
Cancel
Save