summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-28 02:05:10 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-28 02:05:10 +0200
commit2363cf5f20534ab62575ccc581523379cb715735 (patch)
tree4d59b129db8314912b80f4437ff12691610af5f2 /bin
parent3c2ef9216626e5883feeb60a89caaba10c6e2254 (diff)
downloadjenkins.debian.net-2363cf5f20534ab62575ccc581523379cb715735.tar.xz
g-i: fixup do_and_report()
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g-i-installation.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index ac70c0f0..621f68c6 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -268,7 +268,11 @@ backup_screenshot() {
do_and_report() {
echo "At $NR (token: $TOKEN) sending $1 $@"
- vncdo -s $DISPLAY $1 "$@"
+ if [ "$1" != "move" ] ; then
+ vncdo -s $DISPLAY $1 "$2"
+ else
+ vncdo -s $DISPLAY $1 $@
+ fi
backup_screenshot
}