From 47f068270ac348c7bf847cba3cead3b3f2d08a82 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 19 Jun 2016 15:12:16 +0100 Subject: [PATCH] scriptlog --- lgsm/functions/command_console.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lgsm/functions/command_console.sh b/lgsm/functions/command_console.sh index 0eb8e1a93..e12234f9d 100644 --- a/lgsm/functions/command_console.sh +++ b/lgsm/functions/command_console.sh @@ -30,12 +30,12 @@ sleep 1 check_status.sh if [ "${status}" != "0" ]; then fn_print_ok_nl "Starting" - fn_script_log "accessed" + fn_script_log_info "Accessed" sleep 1 tmux attach-session -t ${servicename} else fn_print_fail_nl "Server not running" - fn_script_log "Failed to access: Server not running" + fn_script_log_fatal "Failed to access: Server not running" sleep 1 while true; do read -p "Do you want to start the server? [y/N]" yn @@ -46,3 +46,4 @@ else esac done fi +core_exit.sh