Clean up a useless use of cat
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 15 Jan 2011 12:46:43 +0000 (13:46 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 15 Jan 2011 13:40:06 +0000 (14:40 +0100)
src/scripts/nightly/common.sh

index 752f9fd33bb779b3fe75cb5451dd026cc8b0172d..e3b4a1ef83ddd715f069657a88c5bb98e17e1d6a 100644 (file)
@@ -27,8 +27,6 @@ runfeed() {
        [ -n "$1" ] || { warn "INTERNAL ERROR: No coun/repr given ?" ; return 2 ; }
        REP="$2"
        [ -n "$REP" ] || REP="$1"
-       {
-               cat
-       } | ${EMPIRE_PATH}/empire "$1" "$REP" || { warn "empire not ok ?" ; return 1 ; }
+       ${EMPIRE_PATH}/empire "$1" "$REP" || { warn "empire not ok ?" ; return 1 ; }
        return 0
 }