From c2123d54040944f50e2ae3ca3e9e10ce81f5cd43 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 19 May 2020 02:10:20 +0200 Subject: [PATCH] systemhealth: log viewer, fix typo --- src/opnsense/scripts/systemhealth/queryLog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opnsense/scripts/systemhealth/queryLog.py b/src/opnsense/scripts/systemhealth/queryLog.py index 5833f012e..329305faa 100755 --- a/src/opnsense/scripts/systemhealth/queryLog.py +++ b/src/opnsense/scripts/systemhealth/queryLog.py @@ -53,7 +53,7 @@ if __name__ == '__main__': parser.add_argument('--module', help='module', default='core') inputargs = parser.parse_args() - result = {'filters': filter, 'rows': [], 'total_rows': 0, 'origin': os.path.basename(inputargs.filename)} + result = {'filters': inputargs.filter, 'rows': [], 'total_rows': 0, 'origin': os.path.basename(inputargs.filename)} if inputargs.filename != "": log_filenames = list() if inputargs.module == 'core':