stop tail from crashing

This commit is contained in:
Michel Oosterhof
2016-09-27 22:45:48 +04:00
parent e148e0e241
commit 3c05bef286

View File

@@ -157,7 +157,7 @@ class command_tail(HoneyPotCommand):
def start(self):
self.n = 10
if not self.args or self.args[0] == '>':
pass
return
else:
try:
optlist, args = getopt.getopt(self.args, 'n:')