Replace AUTH_INTR return with AUTH_FAILURE.

The two were treated identically by the caller.
This commit is contained in:
Todd C. Miller
2023-08-26 10:08:32 -06:00
parent b42cab112f
commit bae716642c
8 changed files with 14 additions and 21 deletions

View File

@@ -22,9 +22,8 @@
/* Auth function return values. */
#define AUTH_SUCCESS 0
#define AUTH_FAILURE 1
#define AUTH_INTR 2
#define AUTH_FATAL 3
#define AUTH_NONINTERACTIVE 4
#define AUTH_FATAL 2
#define AUTH_NONINTERACTIVE 3
typedef struct sudo_auth {
unsigned int flags; /* various flags, see below */