]> andersk Git - moira.git/commitdiff
don't ask for machine on type AFS filesystems
authormar <mar>
Mon, 26 Jun 1989 11:46:02 +0000 (11:46 +0000)
committermar <mar>
Mon, 26 Jun 1989 11:46:02 +0000 (11:46 +0000)
clients/moira/attach.c

index 4a7076ff0009a64bee7f28f694b1ce1d37fb5e9e..7c67f61f6e0e7000345b9ee6c77a42a1492750b9 100644 (file)
@@ -255,9 +255,9 @@ Bool name;
     }
 
     GetTypeFromUser("Filesystem's Type", "filesys", &info[FS_TYPE]);
-    if (!strcmp(info[FS_TYPE], "FSGROUP") || !strcmp(info[FS_TYPE], "fsgroup"))
+    if (!strcasecmp(info[FS_TYPE], "FSGROUP"))
       fsgroup++;
-    if (fsgroup) {
+    if (fsgroup || !strcasecmp(info[FS_TYPE], "AFS")) {
        free(info[FS_MACHINE]);
        info[FS_MACHINE] = Strsave(NO_MACHINE);
     } else {
This page took 0.056745 seconds and 5 git commands to generate.