Skip to content

Commit 2f6351e

Browse files
authored
Small fix
1 parent 3ca835e commit 2f6351e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Console/Commands/UpgradeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ public function handle()
5454

5555
if (is_null($this->option('user'))) {
5656
$user_details = posix_getpwuid(fileowner('public'));
57-
$user = $details['name'] ?? 'www-data';
57+
$user = $user_details['name'] ?? 'www-data';
5858

5959
$group_details = posix_getgrgid(filegroup('public'));
60-
$group = $details['name'] ?? 'www-data';
60+
$group = $group_details['name'] ?? 'www-data';
6161

6262
if (!$this->confirm("Your webserver user (and group) has been detected as [{$user}:{$group}]: is this correct?", true)) {
6363
$user = $this->anticipate(

0 commit comments

Comments
 (0)