# File lib/specinfra/backend/ssh.rb, line 40 def build_command(cmd) cmd = super(cmd) if sudo? cmd = "#{sudo} -p '#{prompt}' #{cmd}" end cmd end