|
|
@@ -16,7 +16,8 @@ if [ -n "${consolelog}" ]; then
|
|
|
fi
|
|
|
|
|
|
# For games not displaying a console, and having logs into their game directory
|
|
|
-if [ "${function_selfname}" == "command_start.sh" ] && [ -n "${gamelogfile}" ]; then
|
|
|
+check_status.sh
|
|
|
+if [ "${status}" != "0" ] && [ "${function_selfname}" == "command_start.sh" ] && [ -n "${gamelogfile}" ]; then
|
|
|
if [ -n "$(find "${systemdir}" -name "gamelog*.log")" ]; then
|
|
|
fn_print_info "Moving game logs to ${gamelogdir}"
|
|
|
fn_script_log_info "Moving game logs to ${gamelogdir}"
|