]> andersk Git - moira.git/commitdiff
don't flame about being unable to delete filesystem if the `propagate
authordanw <danw>
Tue, 24 Jun 1997 20:31:58 +0000 (20:31 +0000)
committerdanw <danw>
Tue, 24 Jun 1997 20:31:58 +0000 (20:31 +0000)
to fileserver' flag is false. ([1073] in moira)

incremental/afs.c

index 1e87b755065f24eea83b9bced5e9aba63286455f..69539a348384c9fab429e50e3b121f44360dab8a 100644 (file)
@@ -373,7 +373,7 @@ char **after;
 int afterc;
 {
     char cmd[1024];
-    int acreate, atype, btype;
+    int acreate, atype, bcreate, btype;
 
     if (afterc < FS_CREATE) {
        atype = acreate = 0;
@@ -395,8 +395,9 @@ int afterc;
     }
     
     btype = !strcmp(before[FS_TYPE], "AFS");
+    bcreate = atoi(before[FS_CREATE]);
     if (afterc < FS_CREATE) {
-       if (btype)
+       if (btype && bcreate)
            critical_alert("incremental",
                           "Cannot delete AFS filesystem %s: Operation not supported",
                           before[FS_NAME]);
This page took 0.919449 seconds and 5 git commands to generate.