]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5379] Corrected condition change o=>0
authorTomek Mrugalski <tomasz@isc.org>
Fri, 13 Oct 2017 11:53:25 +0000 (13:53 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Fri, 13 Oct 2017 11:53:25 +0000 (13:53 +0200)
src/bin/admin/kea-admin.in

index 08c207e1c01a88543832361e6d56c7e99af1898a..d7b56e6a12d4bb27f7d3a582a252710ec6bb32e5 100644 (file)
@@ -386,7 +386,7 @@ memfile_dump() {
 mysql_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