]> andersk Git - moira.git/commitdiff
Trying to add a string with an apostrophe shouldn't be fatal: just
authordanw <danw>
Thu, 17 Oct 1996 20:54:28 +0000 (20:54 +0000)
committerdanw <danw>
Thu, 17 Oct 1996 20:54:28 +0000 (20:54 +0000)
punt that entry and continue processing the list.

clients/blanche/blanche.c

index af40c8c18f0002599f2e0bfad2cb794f05452e14..64fdbd6f5a8b6da145c63ba227d741c8012781aa 100644 (file)
@@ -245,10 +245,9 @@ char **argv;
        if ((memberstruct->type == M_STRING ||
             memberstruct->type == M_ANY) &&
            strchr(memberstruct->name, '\'')) {
-               fprintf(stderr, "Illegal character \"'\" in \"STRING:%s\", aborting blanche.\n",
-                       memberstruct->name);
-               fprintf(stderr, "No changes were made.\n");
-               exit(2);
+               fprintf(stderr, "%s: Illegal character \"'\" in argument while adding \"STRING:%s\" to %s.\n",
+                       whoami, memberstruct->name, listname);
+               continue;
        }
        /* canonicalize string if necessary */
        if (memberstruct->type == M_STRING &&
This page took 0.040118 seconds and 5 git commands to generate.