From 2363cf5f20534ab62575ccc581523379cb715735 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 28 Apr 2014 02:05:10 +0200 Subject: g-i: fixup do_and_report() --- bin/g-i-installation.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin/g-i-installation.sh') 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 } -- cgit v1.2.3-54-g00ecf