Clean up a useless use of cat

This commit is contained in:
Markus Armbruster 2011-01-15 13:46:43 +01:00
parent 37589489c6
commit c77db95fad

View 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
}