From: Francis Dupont Date: Sat, 20 Jan 2018 23:19:50 +0000 (+0100) Subject: [5494] Added PR#61 fix X-Git-Tag: trac5524_base^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c9454ec56edc8f3cff8a23329f53ced0d172280;p=thirdparty%2Fkea.git [5494] Added PR#61 fix --- diff --git a/src/bin/admin/kea-admin.in b/src/bin/admin/kea-admin.in index d28697de0c..4be383ddb4 100644 --- a/src/bin/admin/kea-admin.in +++ b/src/bin/admin/kea-admin.in @@ -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