bin/dbox in dbox-0.5.2 vs bin/dbox in dbox-0.5.3

- old
+ new

@@ -49,15 +49,17 @@ # default to creating a directory inside the current directory with # the same name of the directory being created/cloned local_path = args[1] || remote_path.split("/").last - Dbox.send(command, remote_path, local_path) + res = Dbox.send(command, remote_path, local_path) + exit 1 if res[:failed].size > 0 when "pull", "push" # default to current directory local_path = args[0] || "." - Dbox.send(command, local_path) + res = Dbox.send(command, local_path) + exit 1 if res[:failed].size > 0 when "move" remote_path = args[0] # default to current directory local_path = args[1] || "."