summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xPush4
1 files changed, 4 insertions, 0 deletions
diff --git a/Push b/Push
index 63a743a..1820a39 100755
--- a/Push
+++ b/Push
@@ -30,6 +30,10 @@ def getFilesMD5(host, ssh_hostname)
f.each_line{ |l|
l.chomp!
(h,file) = l.split(/\s+/,2)
+ unless file
+ STDERR.puts "Could not split '#{l}' into hash and filename - cmd was '#{cmd}'"
+ next
+ end
md5[file] = h
}
f.close