Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=853898df2bd79e6480e8c53e9498ef52a9aac156

commit 853898df2bd79e6480e8c53e9498ef52a9aac156
Author: James Buren <[email protected]>
Date:   Sun Aug 26 16:45:32 2012 -0500

fix return value when successful in device read

diff --git a/Device.cc b/Device.cc
index 7fca621..ac18335 100644
--- a/Device.cc
+++ b/Device.cc
@@ -201,6 +201,8 @@ bool Device::read(const string &path)

_initialized = true;

+  rv = true;
+
bail:

if(fd != -1)
@@ -281,6 +283,8 @@ Partition *Device::newPartition(unsigned long long size)
return 0;
}

+  _table->putPartition(part);
+
return part;
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to