]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Output changes
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 14 Aug 2019 12:27:29 +0000 (14:27 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 14 Aug 2019 12:27:29 +0000 (14:27 +0200)
bin/check-ldap-passwd

index 384e22aed1f24d6f3403212fac355eadb7a12c95..cc4d9f5e5e46b83d7fa0f1c913e157d8a633b17b 100755 (executable)
@@ -108,7 +108,7 @@ get_options() {
     OBJECT_TOKEN="${REMAINING_ARGS[1]}"
     GIVEN_PASSWD="${REMAINING_ARGS[2]}"
 
-    debug "Checking password '${CYAN}${GIVEN_PASSWD}${NORMAL}' of user '${CYAN}${OBJECT_TOKEN}${NORMAL}' ..."
+    info "Checking password '${CYAN}${GIVEN_PASSWD}${NORMAL}' of user '${CYAN}${OBJECT_TOKEN}${NORMAL}' ..."
 
 }
 
@@ -169,11 +169,9 @@ main() {
 
     echo
     if [[ "${ldap_passwd_hash}" == "${encr_passwd}" ]] ; then
-        echo
         echo -e "Passwort ist ${GREEN}OKAY${NORMAL}."
         echo
     else
-        echo
         echo -e "Passwort is ${RED}FALSCH${NORMAL}." >&2
         echo
         exit 1