This commit is contained in:
Eelco Dolstra 2020-10-07 21:25:06 +02:00
parent e705c24294
commit f66bbd8c7b

View File

@ -3810,7 +3810,7 @@ void DerivationGoal::runChild()
throw Error("unsupported builtin function '%1%'", string(drv->builder, 8));
_exit(0);
} catch (std::exception & e) {
writeFull(STDERR_FILENO, e.what() + "\n");
writeFull(STDERR_FILENO, e.what() + std::string("\n"));
_exit(1);
}
}