Small fix
This commit is contained in:
parent
3ca835e661
commit
2f6351ec00
1 changed files with 2 additions and 2 deletions
|
@ -54,10 +54,10 @@ class UpgradeCommand extends Command
|
|||
|
||||
if (is_null($this->option('user'))) {
|
||||
$user_details = posix_getpwuid(fileowner('public'));
|
||||
$user = $details['name'] ?? 'www-data';
|
||||
$user = $user_details['name'] ?? 'www-data';
|
||||
|
||||
$group_details = posix_getgrgid(filegroup('public'));
|
||||
$group = $details['name'] ?? 'www-data';
|
||||
$group = $group_details['name'] ?? 'www-data';
|
||||
|
||||
if (!$this->confirm("Your webserver user (and group) has been detected as [{$user}:{$group}]: is this correct?", true)) {
|
||||
$user = $this->anticipate(
|
||||
|
|
Loading…
Reference in a new issue