Skip to content

Commit 35bf0b7

Browse files
committed
Revert "Refactor: main: substitute is_auth_req macro"
This reverts commit da79b8b. authfile != authkey Signed-off-by: Jan Friesse <jfriesse@redhat.com>
1 parent d0ac26c commit 35bf0b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ static int setup_config(int type)
364364
if (rv < 0)
365365
goto out;
366366

367-
if (is_auth_req()) {
367+
if (booth_conf->authfile[0] != '\0') {
368368
rv = read_authkey();
369369
if (rv < 0)
370370
goto out;

0 commit comments

Comments
 (0)