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) {