hydra-queue-runner: Don't pass IN_SYSTEMD to child processes

This caused local builds to have journal priority prefixes
(e.g. '<3>').
This commit is contained in:
Eelco Dolstra 2019-09-25 17:25:07 +02:00
parent 4223202c99
commit 554bb7d9ce
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -862,6 +862,9 @@ int main(int argc, char * * argv)
signal(SIGTERM, SIG_DFL);
signal(SIGHUP, SIG_DFL);
// FIXME: do this in the child environment in openConnection().
unsetenv("IN_SYSTEMD");
bool unlock = false;
bool status = false;
BuildID buildOne = 0;