Browse Source

added error check for touch consolelog

pull/1477/head
Daniel Gibbs 8 years ago
parent
commit
26269a04a8
  1. 8
      lgsm/functions/install_logs.sh

8
lgsm/functions/install_logs.sh

@ -50,8 +50,14 @@ if [ -n "${consolelogdir}" ]; then
else else
fn_print_ok_eol_nl fn_print_ok_eol_nl
fi fi
echo -ne "creating console log:" echo -ne "creating console log: ${consolelog}..."
touch "${consolelog}" touch "${consolelog}"
if [ $? -ne 0 ]; then
fn_print_fail_eol_nl
core_exit.sh
else
fn_print_ok_eol_nl
fi
fi fi
# Create Game logs # Create Game logs

Loading…
Cancel
Save