Correct promotion of ssh for chrome-bot.

In some circumstances the user is root but the sudo user is
chrome-bot.  The copy would then be from the wrong source, yielding
either incorrect results or a failure.

BUG=chromium:247410
TEST=proof-of-concept run on test machine

Change-Id: Ife9e1eb6ece77f253d21af8d73860ba7d251b5a3
Reviewed-on: https://gerrit.chromium.org/gerrit/57804
Reviewed-by: Chris Wolfe <cwolfe@chromium.org>
Reviewed-by: David James <davidjames@chromium.org>
Reviewed-by: Michael Spang <spang@chromium.org>
Commit-Queue: Peter Mayo <petermayo@chromium.org>
Tested-by: Peter Mayo <petermayo@chromium.org>
1 file changed