diff options
author | Lee Duncan <lduncan@suse.com> | 2021-04-19 10:23:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-19 10:23:14 -0700 |
commit | 2418580cddc8ec851c5fb75a91b605e12fec5aea (patch) | |
tree | c169762f12b9e32d2921e9c1517510bee1fd5fcd | |
parent | 095f59ca464220eae285de6b5f2ee31185a6a84c (diff) | |
parent | 70f3d83dfc7018a4a4e8d06a19fe562ba6d1a0d9 (diff) | |
download | open-iscsi-2418580cddc8ec851c5fb75a91b605e12fec5aea.tar.gz |
Merge pull request #259 from gulams/master
Log error message when auth debug status is set
-rw-r--r-- | usr/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/login.c b/usr/login.c index 2508c48..8af8756 100644 --- a/usr/login.c +++ b/usr/login.c @@ -624,7 +624,7 @@ check_security_stage_status(iscsi_session_t *session, case AUTH_STATUS_ERROR: case AUTH_STATUS_FAIL: default: - if (acl_get_dbg_status(auth_client, &debug_status) != + if (acl_get_dbg_status(auth_client, &debug_status) == AUTH_STATUS_NO_ERROR) log_error("Login authentication failed " "with target %s, %s", |