Explorar o código

fn_debug will now echo -debug if used

Daniel Gibbs %!s(int64=11) %!d(string=hai) anos
pai
achega
5be5864694
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  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"