fix cat crash with multiple arguments

This commit is contained in:
Michel Oosterhof
2015-08-27 14:29:33 +04:00
parent 99d96922fa
commit d0107929c2

View File

@@ -24,7 +24,7 @@ class command_cat(HoneyPotCommand):
self.write(self.fs.file_contents(path))
except:
self.writeln('cat: %s: No such file or directory' % (arg,))
self.exit()
self.exit()
def lineReceived(self, line):
log.msg( eventid='KIPP0008', realm='cat', input=line,