From b6fbe6d3a5e8de4f90aa9fba61ca7491f9959ed0 Mon Sep 17 00:00:00 2001 From: Viacheslav Date: Mon, 6 Dec 2021 09:03:52 +0000 Subject: validators: T4052: Fix for warn message in the validator script Validator expects variable "script" for the Warning message But it gets undeclared "path" --- src/validators/script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/validators') diff --git a/src/validators/script b/src/validators/script index 1d8a27e5c..46e8a57b2 100755 --- a/src/validators/script +++ b/src/validators/script @@ -37,6 +37,6 @@ if __name__ == '__main__': # File outside the config dir is just a warning if not vyos.util.file_is_persistent(script): sys.exit( - f'Warning: file {path} is outside the / config directory\n' + f'Warning: file {script} is outside the "/config" directory\n' 'It will not be automatically migrated to a new image on system update' ) -- cgit v1.2.3