Browse Source

[5379] Corrected condition change o=>0

Tomek Mrugalski 7 years ago
parent
commit
92da85370e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/admin/kea-admin.in

+ 1 - 1
src/bin/admin/kea-admin.in

@@ -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