diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-04-28 02:05:10 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-04-28 02:05:10 +0200 |
commit | 2363cf5f20534ab62575ccc581523379cb715735 (patch) | |
tree | 4d59b129db8314912b80f4437ff12691610af5f2 | |
parent | 3c2ef9216626e5883feeb60a89caaba10c6e2254 (diff) | |
download | jenkins.debian.net-2363cf5f20534ab62575ccc581523379cb715735.tar.xz |
g-i: fixup do_and_report()
-rwxr-xr-x | bin/g-i-installation.sh | 6 |
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 } |