mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-07 23:51:14 +02:00
zsh-workers/7591
This commit is contained in:
parent
5d25a9b2c4
commit
61d274bb7a
1 changed files with 2 additions and 2 deletions
|
@ -3633,10 +3633,10 @@ privasserted(void)
|
|||
for(n = 0; !cap_get_flag(caps, n, CAP_EFFECTIVE, &val); n++)
|
||||
if(val ||
|
||||
(!cap_get_flag(caps, n, CAP_INHERITABLE, &val) && val)) {
|
||||
cap_free(&caps);
|
||||
cap_free(caps);
|
||||
return 1;
|
||||
}
|
||||
cap_free(&caps);
|
||||
cap_free(caps);
|
||||
}
|
||||
}
|
||||
#endif /* HAVE_CAP_GET_PROC */
|
||||
|
|
Loading…
Reference in a new issue