clean logs
This commit is contained in:
parent
6987240830
commit
f31cc8e75d
2 changed files with 2 additions and 7 deletions
|
|
@ -15,8 +15,6 @@ get_log_info() {
|
|||
MAX_WAIT_TIME=360 # Maximum wait time in seconds (6 minutes)
|
||||
WAIT_INTERVAL=5 # Time to wait between checks in seconds
|
||||
|
||||
log "Checking wallet status... This may take a moment."
|
||||
|
||||
TIMESTAMP_FILE="/tmp/pub_install_timestamp"
|
||||
# Get the modification time of the timestamp file as a UNIX timestamp
|
||||
ref_timestamp=$(stat -c %Y "$TIMESTAMP_FILE")
|
||||
|
|
@ -73,6 +71,8 @@ get_log_info() {
|
|||
sleep $WAIT_INTERVAL
|
||||
done
|
||||
|
||||
log "Checking wallet status... This may take a moment."
|
||||
|
||||
if [ -z "$latest_entry" ]; then
|
||||
log "Can't retrieve wallet status, check the service logs."
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue