mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 20:43:02 +02:00
bin: copy: fix return type of in_group()
Signed-off-by: Richard Alpe <richard@bit42.se>
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ static char *getuser(void)
|
||||
* should result in the file being owned by $LOGNAME:wheel with
|
||||
* 0660 perms for other users in same group.
|
||||
*/
|
||||
static gid_t in_group(const char *user, const char *fn, gid_t *gid)
|
||||
static int in_group(const char *user, const char *fn, gid_t *gid)
|
||||
{
|
||||
char path[PATH_MAX];
|
||||
const struct passwd *pw;
|
||||
|
||||
Reference in New Issue
Block a user