Simpler
This commit is contained in:
parent
da9306fa27
commit
43538f68a4
|
@ -160,7 +160,7 @@ module VagrantPlugins
|
|||
|
||||
if r.exit_code != 0
|
||||
raise Vagrant::Errors::RSyncError,
|
||||
command: command.map { |s| s.include?(' ') && s[0] != "'" && ('"' + s + '"') || s }.join(" "),
|
||||
command: command.map(&:inspect).join(" "),
|
||||
guestpath: guestpath,
|
||||
hostpath: hostpath,
|
||||
stderr: r.stderr
|
||||
|
|
Loading…
Reference in New Issue