From c01889f16c3b01570956ef4cb67c56ebf375964a Mon Sep 17 00:00:00 2001 From: Goffi Date: Fri, 6 Dec 2019 15:19:31 +0100 Subject: [PATCH] plugin manhole: fixed default value --- sat/plugins/plugin_dbg_manhole.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat/plugins/plugin_dbg_manhole.py b/sat/plugins/plugin_dbg_manhole.py index 28d49458..9199bb7f 100644 --- a/sat/plugins/plugin_dbg_manhole.py +++ b/sat/plugins/plugin_dbg_manhole.py @@ -45,7 +45,7 @@ class Manhole(object): def __init__(self, host): self.host = host - port = int(host.memory.getConfig(None, "manhole_debug_dangerous_port_int")) + port = int(host.memory.getConfig(None, "manhole_debug_dangerous_port_int", 0)) if port: self.startManhole(port)