From: Tomek Mrugalski Date: Fri, 13 Oct 2017 11:53:25 +0000 (+0200) Subject: [5379] Corrected condition change o=>0 X-Git-Tag: trac5297_base~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92da85370eeb2e0afb78a9faec75eac8f18473f2;p=thirdparty%2Fkea.git [5379] Corrected condition change o=>0 --- diff --git a/src/bin/admin/kea-admin.in b/src/bin/admin/kea-admin.in index 08c207e1c0..d7b56e6a12 100644 --- a/src/bin/admin/kea-admin.in +++ b/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