int afterc;
{
char cmd[1024];
- int acreate, atype, btype;
+ int acreate, atype, bcreate, btype;
if (afterc < FS_CREATE) {
atype = acreate = 0;
}
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]);