diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-04-26 10:45:20 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-04-26 10:46:45 +0200 |
commit | 006d77eac795acfbe28dbdb73cd08249ca0e5fc7 (patch) | |
tree | 865ceb38820ee45c85e0190590d0c61a9befeb71 /src/migration-scripts/dhcp-server | |
parent | c20762cdbf28828083fcc5c323380a259182d704 (diff) | |
download | vyos-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-x | src/migration-scripts/dhcp-server/4-to-5 | 3 |
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) |