From d96336a808e500934fc4fd9423345d0b965d35ac Mon Sep 17 00:00:00 2001 From: sever-sever Date: Thu, 13 May 2021 20:53:27 +0000 Subject: ntp: T2809: Fix migration script if server not exist --- src/migration-scripts/ntp/0-to-1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/migration-scripts/ntp') diff --git a/src/migration-scripts/ntp/0-to-1 b/src/migration-scripts/ntp/0-to-1 index 9c66f3109..294964580 100755 --- a/src/migration-scripts/ntp/0-to-1 +++ b/src/migration-scripts/ntp/0-to-1 @@ -17,7 +17,7 @@ with open(file_name, 'r') as f: config = ConfigTree(config_file) -if not config.exists(['system', 'ntp']): +if not config.exists(['system', 'ntp', 'server']): # Nothing to do sys.exit(0) else: -- cgit v1.2.3