X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/02fe42131b13d6d891ff267849354288bc600bd5..a816420bb99d1bd3051bc633a1608cd84779a05b:/server/startmoira.c diff --git a/server/startmoira.c b/server/startmoira.c index a85bc680..2692cac6 100644 --- a/server/startmoira.c +++ b/server/startmoira.c @@ -44,7 +44,7 @@ void cleanup(void) if (WEXITSTATUS(stat)) { sprintf(buf, "exited with code %d\n", WEXITSTATUS(stat)); - critical_alert("startmoira", "%s", buf); + critical_alert(whoami, "startmoira", "%s", buf); } } if (WIFSIGNALED(stat)) @@ -52,7 +52,7 @@ void cleanup(void) sprintf(buf, "exited on signal %d%s\n", WTERMSIG(stat), (WCOREDUMP(stat) ? "; Core dumped" : "")); if (WCOREDUMP(stat)) - critical_alert("startmoira", "%s", buf); + critical_alert(whoami, "startmoira", "%s", buf); } write(rdpipe[1], buf, strlen(buf)); close(rdpipe[1]);