More bugs
This commit is contained in:
@@ -63,7 +63,7 @@ mosquitto_sub -h 127.0.0.1 -p 1883 -q 0 -t "$TOPIC" | while IFS="=" read -r key
|
||||
fi
|
||||
|
||||
# Signal that sync is done
|
||||
mosquitto_pub -h 127.0.0.1 -p 1883 -t "$TOPIC" -m "SaveContinue=0"
|
||||
mosquitto_pub -h 127.0.0.1 -p 1883 -t "$RESPONSE_TOPIC" -m "SaveContinue=0"
|
||||
) &
|
||||
log "DEBUG" "Sync process backgrounded for Start Game."
|
||||
|
||||
@@ -73,7 +73,7 @@ mosquitto_sub -h 127.0.0.1 -p 1883 -q 0 -t "$TOPIC" | while IFS="=" read -r key
|
||||
rclone update "$this_save_path" "$REMOTE_BASE/$this_system_id/"
|
||||
log "INFO" "Sync Complete."
|
||||
|
||||
mosquitto_pub -h 127.0.0.1 -p 1883 -t "$TOPIC" -m "SaveContinue=0"
|
||||
mosquitto_pub -h 127.0.0.1 -p 1883 -t "$RESPONSE_TOPIC" -m "SaveContinue=0"
|
||||
) &
|
||||
log "DEBUG" "Sync process backgrounded for End Game."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user