Skip to content

Commit 9a74e6d

Browse files
committed
Users (Linux): adds missing endutxent
1 parent 5d13389 commit 9a74e6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/detection/users/users_linux.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,7 @@ const char* ffDetectUsers(FFUsersOptions* options, FFlist* users)
6464
user->loginTime = (uint64_t) n->ut_tv.tv_sec * 1000 + (uint64_t) n->ut_tv.tv_usec / 1000;
6565
}
6666

67+
endutxent();
68+
6769
return NULL;
6870
}

0 commit comments

Comments
 (0)