Explorar o código

updated header

now includes dev-debug option.
Daniel Gibbs %!s(int64=10) %!d(string=hai) anos
pai
achega
9e3789f7ad
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      Hurtworld/hwserver

+ 8 - 1
Hurtworld/hwserver

@@ -1,8 +1,15 @@
 #!/bin/bash
 # Hurtworld
 # Server Management Script
-# Author: Daniel Gibbs, UltimateByte Fork
+# Author: Daniel Gibbs,
+# Contributor: UltimateByte
 # Website: http://gameservermanagers.com
+if [ -f ".dev-debug" ]; then
+	exec 5>dev-debug.log
+	BASH_XTRACEFD="5"
+	set -x
+fi
+
 version="191215"
 
 #### Variables ####