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
|
else
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
if [ "$SHOWLOG" ]; then
|
||||||
if [ "$SHOWLOG" -a "$NUM" = "$i" ]; then
|
if [ "$SECONDARY" = "$AS_SECONDARY" -a "$NUM" = "$i" ]; then
|
||||||
if [ "$SECONDARY" = "$AS_SECONDARY" ]; then
|
|
||||||
echo "<pre><code>"
|
echo "<pre><code>"
|
||||||
if [ "$SHOWLOG" = "current" ]; then
|
if [ "$SHOWLOG" = "current" ]; then
|
||||||
cat $LOGFILE | sed "s|<|\<|g"
|
cat $LOGFILE | sed "s|<|\<|g"
|
||||||
|
Loading…
Reference in New Issue
Block a user