2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Remove calls to log_fatal() in I/O log functions and just pass an

error back to the caller.
This commit is contained in:
Todd C. Miller
2014-04-04 15:30:12 -06:00
parent 6a295400b7
commit 9b7dfa7522
7 changed files with 95 additions and 52 deletions

View File

@@ -78,7 +78,7 @@ void print_userspecs(void);
void usage(void) __attribute__((__noreturn__));
static void set_runaspw(const char *);
static void set_runasgr(const char *);
static int cb_runas_default(const char *);
static bool cb_runas_default(const char *);
static int testsudoers_print(const char *msg);
extern void setgrfile(const char *);
@@ -395,7 +395,7 @@ set_runasgr(const char *group)
/*
* Callback for runas_default sudoers setting.
*/
static int
static bool
cb_runas_default(const char *user)
{
/* Only reset runaspw if user didn't specify one. */