Change 32708

mark_zinthefer (Mark Zinthefer)
Mark Zinthefer committed this change into //guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin
Request Review
Download .zip
Bug hunt with Claude

Justification:

replica_status.sh � Log file is written to by p4login, then overwritten

echo -e "\\nMetadata replication check." > "$LOGFILE"
Note the > � this truncates the log file *after* p4login's output was already redirected into it

("P4CBIN/p4login">>"P4CBIN/p4login" >> " P4CBIN/p4login">>"LOGFILE" 2>&1).

So p4login errors are silently discarded.
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
replica_status.sh#16
Loading...
Tip: Use n and p to cycle through the changes.