Ofer Schreiber has submitted this change and it was merged.
Change subject: packaging: log rotation - do not execute ls on non-existing files
......................................................................
packaging: log rotation - do not execute ls on non-existing files
Due to the usage of ls, ovirtlogrot.sh would print error messages if it
couldn't find any file matching the pattern engine.log.*
This patch removes the execution of ls, and therefore, removes the error
messages.
Change-Id: Icb3d443dd26c6e22302a694c1d0f433383f312b7
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=889751
Signed-off-by: Ofer Schreiber <oschreib(a)redhat.com>
---
M packaging/resources/ovirtlogrot.sh
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
Ofer Schreiber: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/14097
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Icb3d443dd26c6e22302a694c1d0f433383f312b7
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ofer Schreiber <oschreib(a)redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Kiril Nesenko <knesenko(a)redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgoldboi(a)redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>