[node-patches] Change in ovirt-node[master]: Make sure $live_dev isn't an empty string

fabiand at redhat.com fabiand at redhat.com
Tue Nov 18 13:39:43 UTC 2014


Fabian Deutsch has submitted this change and it was merged.

Change subject: Make sure $live_dev isn't an empty string
......................................................................


Make sure $live_dev isn't an empty string

Checking whether an empty string exists as a file appears to
always be true. Check whether it's empty as well, so we don't try
to use empty strings as $live_dev

Change-Id: I9e118e32d716e9e904cd399d3b77dc1b55c9581c
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1163688
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M dracut/ovirt-boot-functions
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Fabian Deutsch: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/35176
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9e118e32d716e9e904cd399d3b77dc1b55c9581c
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the node-patches mailing list