X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fvunify.cc;h=8065f5e6c9ececef4b62cae16635b984f5dc3999;hb=f9cebb9ac52666f55a67cfd22033f59ee21dd845;hp=2b0cac98f83e3207570526cbf648109b3eb50f73;hpb=6bf3f95de36c804c97716b2d0bdf10680c559044;p=util-vserver.git diff --git a/src/vunify.cc b/src/vunify.cc index 2b0cac9..8065f5e 100644 --- a/src/vunify.cc +++ b/src/vunify.cc @@ -43,7 +43,7 @@ using namespace std; static bool undo = false; -static int ext2flags = EXT2_IMMUTABLE_FILE_FL | EXT2_IMMUTABLE_LINK_FL; +static int ext2flags = EXT2_IMMUTABLE_FL | EXT2_IUNLINK_FL; struct EXCLDIR{ string prefix; int len; @@ -338,9 +338,9 @@ int main (int argc, char *argv[]) }else if (strcmp(arg,"--noflags")==0){ ext2flags = 0; }else if (strcmp(arg,"--immutable")==0){ - ext2flags |= EXT2_IMMUTABLE_FILE_FL; + ext2flags |= EXT2_IMMUTABLE_FL; }else if (strcmp(arg,"--immutable-mayunlink")==0){ - ext2flags |= EXT2_IMMUTABLE_LINK_FL; + ext2flags |= EXT2_IUNLINK_FL; }else if (strcmp(arg,"--excldir")==0){ i++; //excldirs[excldirs.size()] = EXCLDIR(argv[i]);