diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2017-07-21 09:51:37 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2017-07-21 09:51:37 +0000 |
commit | 3929c122f2e9d2ff68166206398f21483f2843f2 (patch) | |
tree | c0b09e682dca6e110db42d8f9787259591e1715e /tcwg-benchmark.sh | |
parent | e0c81471c028123859be5d3659a408e2ba9d1137 (diff) |
tcwg-benchmark.sh: Use ssh -t for remote reboot.
Otherwise, sudo complains:
sudo: no tty present and no askpass program specified
Change-Id: I1c1a8b996af6aaf7766c1c6cdfb696a7d30d0ae0
Diffstat (limited to 'tcwg-benchmark.sh')
-rwxr-xr-x | tcwg-benchmark.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh index cea219ad..3255dd2e 100755 --- a/tcwg-benchmark.sh +++ b/tcwg-benchmark.sh @@ -110,7 +110,7 @@ rsync -az --delete bmk-scripts/ "$boardname:bmk-scripts/" if $reboot; then # Reboot the board - ssh $boardname sudo reboot + ssh -t $boardname sudo reboot # Wait until the ssh server is ready sleep 30 # Give time to the board to shutdown ret=0 |