diff options
author | Daniil Baturin <daniil@baturin.org> | 2019-01-26 00:36:57 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-01-26 00:36:57 +0100 |
commit | 4960c354afc207814cec419daf0a04d53703d63a (patch) | |
tree | eccf85365945a92c8080fb17826845a4f39f5920 /src | |
parent | 2ff09dbd66ee8196f985d1215f0e9bfb519efb12 (diff) | |
download | vyos-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')
-rwxr-xr-x | src/migration-scripts/webproxy/1-to-2 | 2 |
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: |