summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/validators/script2
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'
)