summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support.c b/support.c
index cc04070..292a3a9 100644
--- a/support.c
+++ b/support.c
@@ -131,7 +131,7 @@ int tacacs_get_password (pam_handle_t * pamh, int flags
/* set up conversation call */
msg.msg_style = PAM_PROMPT_ECHO_OFF;
- if (!tac_prompt) {
+ if (!tac_prompt[0]) {
msg.msg = "Password: ";
} else {
msg.msg = tac_prompt;