]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Minor fix in kea-admin (password is now handled properly)
authorTomek Mrugalski <tomasz@isc.org>
Thu, 8 Jan 2015 19:08:10 +0000 (20:08 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Thu, 8 Jan 2015 19:08:10 +0000 (20:08 +0100)
src/bin/admin/kea-admin.in

index b4590806c04c5cf83054429d1076a991a7bdbb3f..c910a28fe10c1602a2500548cf4ad983ea814682 100644 (file)
@@ -270,8 +270,8 @@ do
         # Specify database password
         -p|--password)
             shift
-            db_pass=${1}
-            if [ -z ${db_pass} ]; then
+            db_password=${1}
+            if [ -z ${db_password} ]; then
                 log_error "-p or --password requires a parameter"
                 usage
                 exit 1