summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}