diff options
-rwxr-xr-x | bin/g-i-installation.sh | 8 |
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 } |