summaryrefslogtreecommitdiff
path: root/src/migration-scripts/dhcp-server
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-04-26 10:45:20 +0200
committerChristian Poessinger <christian@poessinger.com>2019-04-26 10:46:45 +0200
commit006d77eac795acfbe28dbdb73cd08249ca0e5fc7 (patch)
tree865ceb38820ee45c85e0190590d0c61a9befeb71 /src/migration-scripts/dhcp-server
parentc20762cdbf28828083fcc5c323380a259182d704 (diff)
downloadvyos-1x-006d77eac795acfbe28dbdb73cd08249ca0e5fc7.tar.gz
vyos-1x-006d77eac795acfbe28dbdb73cd08249ca0e5fc7.zip
[dhcp-server]: bugfix on wrong exit code caused due to wrong indention
(cherry picked from commit d46523b92a2e5959da66973343092c819fea6285)
Diffstat (limited to 'src/migration-scripts/dhcp-server')
-rwxr-xr-xsrc/migration-scripts/dhcp-server/4-to-53
1 files changed, 1 insertions, 2 deletions
diff --git a/src/migration-scripts/dhcp-server/4-to-5 b/src/migration-scripts/dhcp-server/4-to-5
index baccd5a2b..313b5279a 100755
--- a/src/migration-scripts/dhcp-server/4-to-5
+++ b/src/migration-scripts/dhcp-server/4-to-5
@@ -119,5 +119,4 @@ else:
f.write(config.to_string())
except OSError as e:
print("Failed to save the modified config: {}".format(e))
-
- sys.exit(1)
+ sys.exit(1)