diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-12-06 09:03:52 +0000 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-12-06 18:45:09 +0100 |
commit | 6daac5a542fb0d42e5009f4a4e4540dfbb9b0015 (patch) | |
tree | e598558ec08246d27c6ddb171c5cbbac600317b1 /src/validators | |
parent | b13a59f0a19c9b3bce8c740b3120103da6836cc7 (diff) | |
download | vyos-1x-6daac5a542fb0d42e5009f4a4e4540dfbb9b0015.tar.gz vyos-1x-6daac5a542fb0d42e5009f4a4e4540dfbb9b0015.zip |
validators: T4052: Fix for warn message in the validator script
Validator expects variable "script" for the Warning message
But it gets undeclared "path"
(cherry picked from commit b6fbe6d3a5e8de4f90aa9fba61ca7491f9959ed0)
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' ) |