diff options
author | Balint Reczey <balint.reczey@canonical.com> | 2017-08-10 18:26:45 -0400 |
---|---|---|
committer | Balint Reczey <balint.reczey@canonical.com> | 2017-08-10 18:26:45 -0400 |
commit | 589f97ade4610b98cc532c8142343d4c33694e72 (patch) | |
tree | 38890f681daa26c57e865b4feca10d0ca53e1046 /libmisc/user_busy.c | |
parent | 365658d0f3a51814626afbb70aa2dd7b5e82ac36 (diff) | |
download | shadow-589f97ade4610b98cc532c8142343d4c33694e72.tar.gz |
New upstream version 4.5upstream/4.5
Diffstat (limited to 'libmisc/user_busy.c')
-rw-r--r-- | libmisc/user_busy.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmisc/user_busy.c b/libmisc/user_busy.c index 0db32c39..b0867568 100644 --- a/libmisc/user_busy.c +++ b/libmisc/user_busy.c @@ -170,6 +170,9 @@ static int user_busy_processes (const char *name, uid_t uid) proc = opendir ("/proc"); if (proc == NULL) { perror ("opendir /proc"); +#ifdef ENABLE_SUBIDS + sub_uid_close(); +#endif return 0; } if (stat ("/", &sbroot) != 0) { |