From 04692a713dac7b42e67fd6d06e58be42db653464 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 14 Aug 2019 14:27:29 +0200 Subject: [PATCH] Output changes --- bin/check-ldap-passwd | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.39.5