From 3c05bef286a8636e4191eaa84a9ce7de9f1ebf96 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Tue, 27 Sep 2016 22:45:48 +0400 Subject: [PATCH] stop tail from crashing --- cowrie/commands/fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cowrie/commands/fs.py b/cowrie/commands/fs.py index 7b72fe3..a183b8f 100644 --- a/cowrie/commands/fs.py +++ b/cowrie/commands/fs.py @@ -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:')