From 8bf6bafe58f32e48a9636c0e3e13713395657fa9 Mon Sep 17 00:00:00 2001 From: "Remi GASCOU (Podalirius)" <79218792+p0dalirius@users.noreply.github.com> Date: Tue, 25 Jun 2024 16:35:11 +0200 Subject: [PATCH] Fixed cannot access local variable 'options' where it is not associated with a value --- smbclientng/core/SessionsManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smbclientng/core/SessionsManager.py b/smbclientng/core/SessionsManager.py index 32b2aef..7b75fa5 100644 --- a/smbclientng/core/SessionsManager.py +++ b/smbclientng/core/SessionsManager.py @@ -168,7 +168,7 @@ def process_command_line(self, arguments): try: options = parser.parse_args(arguments) except SystemExit as e: - pass + return # Process actions