mpalmer / lvmsync

Synchronise LVM LVs across a network by sending only snapshotted changes
http://theshed.hezmatt.org/lvmsync
GNU General Public License v3.0
380 stars 60 forks source link

Make vgcfgbackup_output work on Ruby 1.9 and later #15

Closed AnchorCat closed 9 years ago

AnchorCat commented 10 years ago

da00c95 fixed the behaviour of vgcfgbackup_output to work with Ruby 1.8's popen3, but this had the side effect of breaking it on 1.9 and later. This patch allows it to work with either form of popen3.

dassams commented 10 years ago

Works for me on Debian stable's ruby/gem 1.9.x

mpalmer commented 9 years ago

I've merged a modified form of this patch.