summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/SSHbase.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Plugins/SSHbase.py')
-rw-r--r--src/lib/Server/Plugins/SSHbase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/SSHbase.py b/src/lib/Server/Plugins/SSHbase.py
index 9f2f9a789..542c06f5f 100644
--- a/src/lib/Server/Plugins/SSHbase.py
+++ b/src/lib/Server/Plugins/SSHbase.py
@@ -112,8 +112,8 @@ class SSHbase(Bcfg2.Server.Plugin.Plugin,
self.skn = False
if event and event.filename.endswith('.static'):
self.skn = False
- if not self.skn:
- if (len(self.entries.keys())) > (0.95 * len(os.listdir(self.data))):
+ if not self.__skn:
+ if (len(self.entries.keys())) >= (len(os.listdir(self.data))-1):
_ = self.skn
def HandlesEntry(self, entry, _):