Merge "More idiomatic cleanup of 9f75a035713d216469f1cabfe4a65f7864e2145a." am: a48dc55f32
am:14f74dae87
* commit '14f74dae876482a2eb41e8a3802cc5b39224662a': More idiomatic cleanup of9f75a03571
.
This commit is contained in:
commit
0eb8f2942a
1 changed files with 1 additions and 2 deletions
|
@ -53,8 +53,7 @@ static void drop_capabilities_bounding_set_if_needed() {
|
|||
continue;
|
||||
}
|
||||
|
||||
int err = prctl(PR_CAPBSET_DROP, i, 0, 0, 0);
|
||||
if (err < 0) {
|
||||
if (prctl(PR_CAPBSET_DROP, i, 0, 0, 0) == -1) {
|
||||
PLOG(FATAL) << "Could not drop capabilities";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue