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 00878e9 commit f635988Copy full SHA for f635988
src/Commands/ChangeOwnerConfigJson.php
@@ -60,8 +60,10 @@ private function getDefaultUserGroup(): string
60
$defaultUserGroup = exec('ps aux | egrep "(apache|httpd|nginx)" | grep -v "root" | head -n1 | cut -d\ -f1');
61
if ($defaultUserGroup === false) {
62
$this->error('Failed to retrieve default user and group');
63
+
64
return '';
65
}
66
67
return $defaultUserGroup;
68
69
0 commit comments