From 001cc6655f1864a46b573dae13c8f33bbf224239 Mon Sep 17 00:00:00 2001 From: Viacheslav Date: Mon, 6 Dec 2021 10:13:32 +0000 Subject: validators: T4053: Fix exit code for script --- 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 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' ) -- cgit v1.2.3