]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/nsm/file.c
libnsm.a: modify return value to false from 0 at nsm_drop_privileges()
[nfs-utils.git] / support / nsm / file.c
index e21c7d43e58ec1c19e1d1a9b89cb459e467ab9cd..98b47bf8bd9f0b4dae29861b446d7ab3f137d134 100644 (file)
@@ -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) {