Dear list,

this little patch will fix the problem with redurecap, where you can not specify extra capabilities to reduce using --cap.

best regards,
fu ke

--- util-vserver-0.30.210/src/reducecap.c	2006-01-22 20:31:53.000000000 +0100
+++ util-vserver-0.30.210/src/reducecap.c.patched	2006-02-23 10:27:41.000000000 +0100
@@ -216,7 +216,7 @@
 getCap(char const *cap)
 {
   int		bit = vc_text2cap(cap);
-  if (bit!=0) {
+  if (bit<0) {
     WRITE_MSG(2, "Unknown capability '");
     WRITE_STR(2, optarg);
     WRITE_MSG(2, "'; try '--help' for more information\n");

_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to