summaryrefslogtreecommitdiff
path: root/src/migration-scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-04 12:43:54 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-04 12:43:54 +0200
commit0fb210da13c95eb3a48f7cfad9d1089629aa96d8 (patch)
tree14e053d3244ad0d4a4484720472e1baafd0ef3e2 /src/migration-scripts
parent25c8e1609b59478f8b109c3ef4cb5cd7d947e3a0 (diff)
downloadvyos-1x-0fb210da13c95eb3a48f7cfad9d1089629aa96d8.tar.gz
vyos-1x-0fb210da13c95eb3a48f7cfad9d1089629aa96d8.zip
pppoe-server: T2829: fix broken migration script (exit called)
A test statement was still present in the production code introduced in commit efeac80f8 ("pppoe-server: T2829: migrate 'ppp-options mppe' to leafNode"). This has been fixed.
Diffstat (limited to 'src/migration-scripts')
-rwxr-xr-xsrc/migration-scripts/pppoe-server/3-to-43
1 files changed, 0 insertions, 3 deletions
diff --git a/src/migration-scripts/pppoe-server/3-to-4 b/src/migration-scripts/pppoe-server/3-to-4
index ed5a01625..6709d5f86 100755
--- a/src/migration-scripts/pppoe-server/3-to-4
+++ b/src/migration-scripts/pppoe-server/3-to-4
@@ -43,9 +43,6 @@ else:
# ... and set new default
config.set(mppe_base, value='prefer')
- print(config.to_string())
- exit(1)
-
try:
with open(file_name, 'w') as f:
f.write(config.to_string())