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.
2 parents 9c47e04 + 01cc458 commit 6b63672Copy full SHA for 6b63672
src/Jenner/Crontab/Mission.php
@@ -294,7 +294,7 @@ protected function setUserAndGroup()
294
{
295
if (!is_null($this->user)) {
296
if (!is_null($this->group)) {
297
- $group_info = posix_getgrnam($this->user);
+ $group_info = posix_getgrnam($this->group);
298
$group_id = $group_info['gid'];
299
if (!posix_setgid($group_id)) {
300
throw new \RuntimeException("set group failed");
0 commit comments