Fix typo
It should be "if" not "is". Signed-off-by: Samanta Navarro <ferivoz@riseup.net>
This commit is contained in:
parent
d5d1932370
commit
b8ea76ba72
@ -43,7 +43,7 @@ int user_busy (const char *name, uid_t uid)
|
|||||||
/* On Linux, directly parse /proc */
|
/* On Linux, directly parse /proc */
|
||||||
return user_busy_processes (name, uid);
|
return user_busy_processes (name, uid);
|
||||||
#else /* !__linux__ */
|
#else /* !__linux__ */
|
||||||
/* If we cannot rely on /proc, check is there is a record in utmp
|
/* If we cannot rely on /proc, check if there is a record in utmp
|
||||||
* indicating that the user is still logged in */
|
* indicating that the user is still logged in */
|
||||||
return user_busy_utmp (name);
|
return user_busy_utmp (name);
|
||||||
#endif /* !__linux__ */
|
#endif /* !__linux__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user