diff options
author | Holger Levsen <holger@layer-acht.org> | 2013-01-13 18:45:09 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2013-01-13 18:45:09 +0100 |
commit | ccf01b3fc68a397f538fd210d4d9716f4ce5e5e3 (patch) | |
tree | f5e123556116954d6d0ead779ef1e2c176ef22a5 /bin | |
parent | a771c8d5cd86e9990491c1e9fe65ebf845c0a683 (diff) | |
download | jenkins.debian.net-ccf01b3fc68a397f538fd210d4d9716f4ce5e5e3.tar.xz |
d-i-parse_logs: fix syntax error
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/d-i_parse_logs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/d-i_parse_logs.sh b/bin/d-i_parse_logs.sh index 9814e42c..406e6ba4 100755 --- a/bin/d-i_parse_logs.sh +++ b/bin/d-i_parse_logs.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2012 Holger Levsen <holger@layer-acht.org> +# Copyright 2012, 2013 Holger Levsen <holger@layer-acht.org> # released under the GPLv=2 if [ "$1" == "" ] ; then @@ -24,7 +24,7 @@ export http_proxy="http://localhost:3128" TMPFILE=$(mktemp) curl $URL > $TMPFILE -if [ $(grep -c failed $TMPFILE >/dev/null 2>&1) -gt 1 ] ; then +if [ $(grep -c failed $TMPFILE 2>/dev/null ) -gt 1 ] ; then figlet Warning: figlet failed builds: for FILE in $(grep failed $TMPFILE | awk '{print $2}' FS=href= | cut -d '"' -f2) ; do |