aboutsummaryrefslogtreecommitdiff
path: root/mcwrapper
diff options
context:
space:
mode:
Diffstat (limited to 'mcwrapper')
-rwxr-xr-xmcwrapper4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcwrapper b/mcwrapper
index fd729e6..565e677 100755
--- a/mcwrapper
+++ b/mcwrapper
@@ -56,7 +56,7 @@ def load_conf(config_file):
def autoshutdown_enable():
global shutdownTimeout
if (conf.timeout > 0):
- if (conf.verbose_level > 0):
+ if (conf.verbose_level >= 0):
print("Automatic shutdown after " + str(conf.timeout) +
" min.")
shutdownTimeout = Timer(conf.timeout * 60.0, __server_send_stop__)
@@ -68,7 +68,7 @@ def autoshutdown_disable():
try:
shutdownTimeout.cancel()
del shutdownTimeout
- if (conf.verbose_level > 0):
+ if (conf.verbose_level >= 0):
print("Automatic shutdown disabled.")
except NameError:
pass