mirror of
https://github.com/NixOS/nix.git
synced 2024-11-23 07:12:27 +00:00
Cleanup
This commit is contained in:
parent
0ed946aa61
commit
5ef64f05e6
@ -507,10 +507,10 @@ private:
|
||||
Path fnUserLock;
|
||||
AutoCloseFD fdUserLock;
|
||||
|
||||
bool isEnabled;
|
||||
bool isEnabled = false;
|
||||
string user;
|
||||
uid_t uid;
|
||||
gid_t gid;
|
||||
uid_t uid = 0;
|
||||
gid_t gid = 0;
|
||||
std::vector<gid_t> supplementaryGIDs;
|
||||
|
||||
public:
|
||||
@ -534,9 +534,6 @@ UserLock::UserLock()
|
||||
{
|
||||
assert(settings.buildUsersGroup != "");
|
||||
createDirs(settings.nixStateDir + "/userpool");
|
||||
/* Mark that user is not enabled by default */
|
||||
uid = 0;
|
||||
isEnabled = false;
|
||||
}
|
||||
|
||||
bool UserLock::findFreeUser() {
|
||||
|
Loading…
Reference in New Issue
Block a user