diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-12-06 09:03:52 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2021-12-06 09:04:01 +0000 |
commit | b6fbe6d3a5e8de4f90aa9fba61ca7491f9959ed0 (patch) | |
tree | e6c02e51f8c79d81389fb9547cc3c77ef2cd146e /src/validators | |
parent | 025f0609cea8591e93b8cb4a7d0256e43e23323b (diff) | |
download | vyos-1x-b6fbe6d3a5e8de4f90aa9fba61ca7491f9959ed0.tar.gz vyos-1x-b6fbe6d3a5e8de4f90aa9fba61ca7491f9959ed0.zip |
validators: T4052: Fix for warn message in the validator script
Validator expects variable "script" for the Warning message
But it gets undeclared "path"
Diffstat (limited to 'src/validators')
-rwxr-xr-x | src/validators/script | 2 |
1 files changed, 1 insertions, 1 deletions
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' ) |