autodist cgi: another fix for showlog on secondary host
This commit is contained in:
parent
25cc256ba5
commit
005fe6a6f5
@ -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 "<pre><code>"
|
||||
if [ "$SHOWLOG" = "current" ]; then
|
||||
cat $LOGFILE | sed "s|<|\<|g"
|
||||
|
Loading…
Reference in New Issue
Block a user