summaryrefslogtreecommitdiff
path: root/src/migration-scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-01-26 00:36:57 +0100
committerDaniil Baturin <daniil@baturin.org>2019-01-26 00:36:57 +0100
commit4960c354afc207814cec419daf0a04d53703d63a (patch)
treeeccf85365945a92c8080fb17826845a4f39f5920 /src/migration-scripts
parent2ff09dbd66ee8196f985d1215f0e9bfb519efb12 (diff)
downloadvyos-1x-4960c354afc207814cec419daf0a04d53703d63a.tar.gz
vyos-1x-4960c354afc207814cec419daf0a04d53703d63a.zip
[webproxy] T1203: do not attempt to migrate proxy-bypass if it doesn't exist.
Diffstat (limited to 'src/migration-scripts')
-rwxr-xr-xsrc/migration-scripts/webproxy/1-to-22
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/webproxy/1-to-2 b/src/migration-scripts/webproxy/1-to-2
index 4acabba3e..070ff356d 100755
--- a/src/migration-scripts/webproxy/1-to-2
+++ b/src/migration-scripts/webproxy/1-to-2
@@ -19,7 +19,7 @@ with open(file_name, 'r') as f:
config = ConfigTree(config_file)
cfg_webproxy_base = ['service', 'webproxy']
-if not config.exists(cfg_webproxy_base):
+if not config.exists(cfg_webproxy_base + ['proxy-bypass']):
# Nothing to do
sys.exit(0)
else: