Allow the remote MD5 checks to be run via sudo

pull/2940/merge
Ben Ritcey 12 years ago committed by Michael DeHaan
parent 8475a92dec
commit 0938d4d89a

@ -638,7 +638,7 @@ class Runner(object):
cmd = " || ".join(md5s)
cmd = "%s; %s || (echo \"${rc} %s\")" % (test, cmd, path)
data = self._low_level_exec_command(conn, cmd, tmp, sudoable=False)
data = self._low_level_exec_command(conn, cmd, tmp, sudoable=True)
data2 = utils.last_non_blank_line(data['stdout'])
try:
return data2.split()[0]

Loading…
Cancel
Save