Skip to content

Commit

Permalink
Need to double those hyphens, kids
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalmer committed Jul 4, 2014
1 parent b8c91ae commit 5b3e01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lvm/snapshot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@ def metadata_header
end

def metadata_device
"/dev/mapper/#{@vg}-#{@lv}-cow"
"/dev/mapper/#{@vg}-#{@lv.gsub('-', '--')}-cow"
end
end

0 comments on commit 5b3e01e

Please sign in to comment.