Message ID | 4D142BDA.6080809@cn.fujitsu.com (mailing list archive) |
---|---|
State | RFC, archived |
Headers | show |
diff --git a/support/nsm/file.c b/support/nsm/file.c index e21c7d4..98b47bf 100644 --- a/support/nsm/file.c +++ b/support/nsm/file.c @@ -421,7 +421,7 @@ nsm_drop_privileges(const int pidfd) */ if (prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) == -1) { xlog(L_ERROR, "prctl(PR_SET_KEEPCAPS) failed: %m"); - return 0; + return false; } if (setgroups(0, NULL) == -1) {