This commit is contained in:
Justin (shocknet) 2024-08-15 21:25:51 -04:00
parent ccab37d7b7
commit 02d2ab1ee7
3 changed files with 27 additions and 27 deletions

View file

@ -46,7 +46,7 @@ get_log_info() {
done
if [ -z "$latest_entry" ]; then
log "Error: Failed to retrieve wallet status. Please check the service logs."
log "Can't retrieve wallet status, check the service logs."
exit 1
fi
@ -88,10 +88,10 @@ get_log_info() {
done
if [ ! -f "$DATA_DIR/.admin_connect" ] && [ ! -f "$DATA_DIR/app.nprofile" ]; then
log "Error: Neither .admin_connect nor app.nprofile file found after waiting. Please check the service status."
log "Neither .admin_connect nor app.nprofile file found after waiting. Please check the service status."
exit 1
elif [ -f "$DATA_DIR/.admin_connect" ] && ! [[ $(cat "$DATA_DIR/.admin_connect") == nprofile1* ]] && ! [[ $(cat "$DATA_DIR/.admin_connect") == *:* ]]; then
log "Error: Admin connect information is incomplete. Please check the service status."
log "Admin connect information is incomplete. Please check the service status."
exit 1
fi
}