]> andersk Git - moira.git/commitdiff
Fix a comment, un-#if 0 some code that shouldn't have been #if 0'ed
authordanw <danw>
Mon, 5 Jan 1998 14:52:46 +0000 (14:52 +0000)
committerdanw <danw>
Mon, 5 Jan 1998 14:52:46 +0000 (14:52 +0000)
dcm/dcm.pc

index 17bf2c473ed525664b328706f0448eebc3faaa59..7b9bc9ce337ec2e9e8988298b7dbfe9ead45780e 100644 (file)
@@ -104,7 +104,7 @@ char *argv[];
            switch (fork()) {
                case -1:
                    fprintf(stderr,
-                           "dcm: could not fork to for service %s -- exiting",
+                           "dcm: could not fork for service %s -- exiting",
                            name);
                    exit(1);
                case 0:
@@ -192,10 +192,8 @@ int generate_service(char *name, int force)
            errmsg = error_message(status);
            EXEC SQL UPDATE servers SET dfcheck = :now, harderror = :status,
                errmsg = :errmsg, inprogress = 0 WHERE name=UPPER(:name);
-#if 0
            critical_alert("DCM","DCM building config files for %s: %s",
                           name, errmsg);
-#endif
        }
     }
     EXEC SQL COMMIT RELEASE;
@@ -242,10 +240,8 @@ void do_hosts(char *service)
            if (!SOFT_FAIL(status)) {
                EXEC SQL UPDATE serverhosts SET hosterror = :status
                    WHERE CURRENT OF csr_hst1;
-#if 0
                critical_alert("DCM", "DCM updating %s:%s: %s",
                               service, host, errmsg);
-#endif
            }
            
            if (replicated) break;
@@ -274,10 +270,8 @@ void do_hosts(char *service)
                if (!SOFT_FAIL(status)) {
                    EXEC SQL UPDATE serverhosts SET hosterror = :status
                        WHERE CURRENT OF csr_hst2;
-#if 0
                    critical_alert("DCM", "DCM updating %s:%s: %s",
                                   service, host, errmsg);
-#endif
                }
                
                if (replicated) {
This page took 0.071742 seconds and 5 git commands to generate.