Просмотр исходного кода

fn_debug will now echo -debug if used

Daniel Gibbs 11 лет назад
Родитель
Сommit
5be5864694
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      functions/fn_debugserver

+ 6 - 1
functions/fn_debugserver

@@ -21,7 +21,12 @@ echo -e "Kernel: ${kernel}"
 echo -e "Hostname: $HOSTNAME"
 echo ""
 echo "Start parameters:"
-echo ${executable} ${parms}
+if [ "${engine}" == "source" ]||[ "${engine}" == "goldsource" ]; then
+	echo "${executable} ${parms} -debug"
+else
+	echo "${executable} ${parms}"
+fi
+
 echo ""
 echo -e "Use for identifying server issues only!"
 echo -e "Press CTRL+c to drop out of debug mode"