summaryrefslogtreecommitdiff
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:04 +0200
commitd46523b92a2e5959da66973343092c819fea6285 (patch)
treef04410447004dd26299eae6e65ebda993b223cf4
parentdcb9f521f9f6dbb98df8f644009c05342f596b5a (diff)
downloadvyos-1x-d46523b92a2e5959da66973343092c819fea6285.tar.gz
vyos-1x-d46523b92a2e5959da66973343092c819fea6285.zip
[dhcp-server]: bugfix on wrong exit code caused due to wrong indention
-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)