]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5494] Added PR#61 fix
authorFrancis Dupont <fdupont@isc.org>
Sat, 20 Jan 2018 23:19:50 +0000 (00:19 +0100)
committerFrancis Dupont <fdupont@isc.org>
Sat, 20 Jan 2018 23:19:50 +0000 (00:19 +0100)
src/bin/admin/kea-admin.in

index d28697de0ce1c414a044faa4394c02cbc44c2245..4be383ddb4e17383172bd3586d921c14c840fc1e 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# Copyright (C) 2014-2017 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2014-2018 Internet Systems Consortium, Inc. ("ISC")
 #
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -448,7 +448,7 @@ mysql_dump() {
 ### Functions used for dump
 pgsql_dump() {
     # Check the lease type was given
-    if [ $dump_type -eq o ]; then
+    if [ $dump_type -eq 0 ]; then
         log_error "lease-dump: lease type ( -4 or -6 ) needs to be specified"
         usage
         exit 1