Change in ovirt-engine[master]: packaging: log rotation - do not execute ls on non-existing ...

oschreib at redhat.com oschreib at redhat.com
Sun Apr 28 09:17:29 UTC 2013


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 at 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 at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Kiril Nesenko <knesenko at redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgoldboi at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>



More information about the Engine-commits mailing list