diff options
author | Holger Levsen <holger@layer-acht.org> | 2012-12-20 02:20:19 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2012-12-20 02:20:19 +0100 |
commit | 45711c695d74085408a73d4af45270f8e018269a (patch) | |
tree | 9bf5aac9ff47067affa34eba8f8c0ad9ae598882 /bin | |
parent | d5f14e4d48f22d9edcae2b483e635d1efb6f75ee (diff) | |
download | jenkins.debian.net-45711c695d74085408a73d4af45270f8e018269a.tar.xz |
be less verbose
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/g-i-installation.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index f21d1edc..e19fa747 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -275,8 +275,8 @@ monitor_system() { # from help let: "Exit Status: If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." let OLD=NR-400 PRINTF_OLD=$(printf "%06d" $OLD) - set -x if diff -q snapshot_${PRINTF_NR}.ppm snapshot_${PRINTF_OLD}.ppm ; then + set -x GOCR=$(mktemp) gocr snapshot_${PRINTF_NR}.ppm > $GOCR LAST_LINE=$(tail -1 $GOCR |cut -d "]" -f2- || true) @@ -301,7 +301,6 @@ monitor_system() { echo $TRIGGER_NR fi fi - set +x fi let NR=NR+1 sleep 2 |