diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-04-28 11:50:50 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-04-28 11:50:50 +0200 |
commit | b0aa00170c81d7bcb3f5371f43e4e61135f572bc (patch) | |
tree | 8b6889f126877c1c45c03b8f1dd151f1e26487a9 /bin | |
parent | 2363cf5f20534ab62575ccc581523379cb715735 (diff) | |
download | jenkins.debian.net-b0aa00170c81d7bcb3f5371f43e4e61135f572bc.tar.xz |
g-i: improve do+report()
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/g-i-installation.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 621f68c6..abbf8735 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -267,12 +267,8 @@ backup_screenshot() { } do_and_report() { - echo "At $NR (token: $TOKEN) sending $1 $@" - if [ "$1" != "move" ] ; then - vncdo -s $DISPLAY $1 "$2" - else - vncdo -s $DISPLAY $1 $@ - fi + echo "At $NR (token: $TOKEN) sending $@" + vncdo -s $DISPLAY $@ backup_screenshot } |