We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28edbb1 commit dba794aCopy full SHA for dba794a
1 file changed
bin/lvmsync
@@ -118,7 +118,7 @@ ensure
118
infile.close unless infile.nil? or infile == $stdin
119
end
120
121
-def process_dumpdata(instream, destdev, snapback = nil, opts)
+def process_dumpdata(instream, destdev, snapback = nil, opts = {})
122
handshake = instream.readline.chomp
123
unless handshake == PROTOCOL_VERSION
124
$stderr.puts "Handshake failed; protocol mismatch? (saw '#{handshake}' expected '#{PROTOCOL_VERSION}'"
0 commit comments