From b0aa00170c81d7bcb3f5371f43e4e61135f572bc Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 28 Apr 2014 11:50:50 +0200 Subject: g-i: improve do+report() --- bin/g-i-installation.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'bin') 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 } -- cgit v1.2.3-70-g09d2