From: Frank Brehm Date: Wed, 14 Aug 2019 12:27:29 +0000 (+0200) Subject: Output changes X-Git-Tag: 0.4.1~9 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=04692a713dac7b42e67fd6d06e58be42db653464;p=pixelpark%2Fpp-admin-tools.git Output changes --- diff --git a/bin/check-ldap-passwd b/bin/check-ldap-passwd index 384e22a..cc4d9f5 100755 --- a/bin/check-ldap-passwd +++ b/bin/check-ldap-passwd @@ -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