Avoid to put a newline between `Older' and `Newer' pages. - gophercgis - Collection of gopher CGI/DCGI for geomyidae (HTM) hg clone https://bitbucket.org/iamleot/gophercgis (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) changeset 9d2b1f1e54dbf72200bb8c3558e758359882da88 (DIR) parent 224681e931e492efec0adbe5cf72fe1c0c8c6c41 (HTM) Author: Leonardo Taccari <iamleot@gmail.com> Date: Wed, 8 Aug 2018 10:21:15 Avoid to put a newline between `Older' and `Newer' pages. Diffstat: nntp/nntp.dcgi | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- diff -r 224681e931e4 -r 9d2b1f1e54db nntp/nntp.dcgi --- a/nntp/nntp.dcgi Wed Aug 08 10:20:49 2018 +0200 +++ b/nntp/nntp.dcgi Wed Aug 08 10:21:15 2018 +0200 @@ -166,7 +166,6 @@ prev_num2=$((num2 - NNTP_MESSAGES)) echo "[1|<< Older articles|${CGI}?${group}/${prev_num1}/${prev_num2}|server|port]" - echo "t" fi if [ "${num2}" -lt "${last}" ]; then @@ -175,8 +174,9 @@ [ "${new_num2}" -gt "${last}" ] && new_num2="${last}" echo "[1|>> Newer articles|${CGI}?${group}/${new_num1}/${new_num2}|server|port]" - echo "t" fi + echo "t" + exit 0 fi