Changeset 30491ca


Ignore:
Timestamp:
2022-09-07T14:51:33Z (2 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
fb774da
Parents:
341bd65
git-author:
Johannes Segitz <jsegitz@…> (03-01-22 16:00:03)
git-committer:
Jelmer Vernooij <jelmer@…> (07-09-22 14:51:33)
Message:

Use proper constant for exit code

Co-authored-by: Björn Bidar <me@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • unix.c

    r341bd65 r30491ca  
    159159                if (!pw) {
    160160                        log_message(LOGLVL_ERROR, "Failed to look up user %s.", global.conf->user);
    161                         return(1);
     161                        return(EXIT_FAILURE);
    162162
    163163                } else if (initgroups(global.conf->user, pw->pw_gid) != 0) {
Note: See TracChangeset for help on using the changeset viewer.