diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-12-06 10:13:32 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2021-12-06 10:13:32 +0000 |
commit | 001cc6655f1864a46b573dae13c8f33bbf224239 (patch) | |
tree | e0cd085aed0377a012f2e60d0545b72a6d936092 /src/validators/script | |
parent | b6fbe6d3a5e8de4f90aa9fba61ca7491f9959ed0 (diff) | |
download | vyos-1x-001cc6655f1864a46b573dae13c8f33bbf224239.tar.gz vyos-1x-001cc6655f1864a46b573dae13c8f33bbf224239.zip |
validators: T4053: Fix exit code for script
Diffstat (limited to 'src/validators/script')
-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 46e8a57b2..4ffdeb2a0 100755 --- a/src/validators/script +++ b/src/validators/script @@ -36,7 +36,7 @@ if __name__ == '__main__': # File outside the config dir is just a warning if not vyos.util.file_is_persistent(script): - sys.exit( + sys.exit(0)( f'Warning: file {script} is outside the "/config" directory\n' 'It will not be automatically migrated to a new image on system update' ) |