We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2743bf0 commit 3cc1125Copy full SHA for 3cc1125
1 file changed
src/libstore/build.cc
@@ -2196,6 +2196,9 @@ void DerivationGoal::startBuilder()
2196
2197
if (chown(slaveName.c_str(), buildUser->getUID(), 0))
2198
throw SysError("changing owner of pseudoterminal slave");
2199
+ } else {
2200
+ if (grantpt(builderOut.readSide.get()))
2201
+ throw SysError("granting access to pseudoterminal slave");
2202
}
2203
2204
#if 0
0 commit comments