diff --git a/autodist-cgi b/autodist-cgi index b1452fc..adb423d 100755 --- a/autodist-cgi +++ b/autodist-cgi @@ -62,9 +62,8 @@ for i in `seq 0 ${#AUTOPORT_ARCH[*]}`; do else continue fi - - if [ "$SHOWLOG" -a "$NUM" = "$i" ]; then - if [ "$SECONDARY" = "$AS_SECONDARY" ]; then + if [ "$SHOWLOG" ]; then + if [ "$SECONDARY" = "$AS_SECONDARY" -a "$NUM" = "$i" ]; then echo "
"
if [ "$SHOWLOG" = "current" ]; then
cat $LOGFILE | sed "s|<|\<|g"