Skip to content
Permalink
Browse files Browse the repository at this point in the history
Revert "Refactor: main: substitute is_auth_req macro"
This reverts commit da79b8b.

authfile != authkey

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
  • Loading branch information
jfriesse committed Jul 4, 2022
1 parent d0ac26c commit 35bf0b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Expand Up @@ -364,7 +364,7 @@ static int setup_config(int type)
if (rv < 0)
goto out;

if (is_auth_req()) {
if (booth_conf->authfile[0] != '\0') {
rv = read_authkey();
if (rv < 0)
goto out;
Expand Down

0 comments on commit 35bf0b7

Please sign in to comment.