diff --git a/src/cowrie/scripts/fsctl.py b/src/cowrie/scripts/fsctl.py index c052df4f..bd8d00de 100755 --- a/src/cowrie/scripts/fsctl.py +++ b/src/cowrie/scripts/fsctl.py @@ -770,7 +770,7 @@ def run(): print(pickle_file_name) if len(sys.argv) == 3: - fseditCmd(pickle_file_name).onecmd() + fseditCmd(pickle_file_name).onecmd(sys.argv[2]) else: fseditCmd(pickle_file_name).cmdloop()