Clean up a useless use of cat
This commit is contained in:
parent
37589489c6
commit
c77db95fad
1 changed files with 1 additions and 3 deletions
|
@ -27,8 +27,6 @@ runfeed() {
|
||||||
[ -n "$1" ] || { warn "INTERNAL ERROR: No coun/repr given ?" ; return 2 ; }
|
[ -n "$1" ] || { warn "INTERNAL ERROR: No coun/repr given ?" ; return 2 ; }
|
||||||
REP="$2"
|
REP="$2"
|
||||||
[ -n "$REP" ] || REP="$1"
|
[ -n "$REP" ] || REP="$1"
|
||||||
{
|
${EMPIRE_PATH}/empire "$1" "$REP" || { warn "empire not ok ?" ; return 1 ; }
|
||||||
cat
|
|
||||||
} | ${EMPIRE_PATH}/empire "$1" "$REP" || { warn "empire not ok ?" ; return 1 ; }
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue