summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-28 11:50:50 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-28 11:50:50 +0200
commitb0aa00170c81d7bcb3f5371f43e4e61135f572bc (patch)
tree8b6889f126877c1c45c03b8f1dd151f1e26487a9
parent2363cf5f20534ab62575ccc581523379cb715735 (diff)
downloadjenkins.debian.net-b0aa00170c81d7bcb3f5371f43e4e61135f572bc.tar.xz
g-i: improve do+report()
-rwxr-xr-xbin/g-i-installation.sh8
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
}