Tell the user which file the setup token could not be written to
fixes #7407
This commit is contained in:
parent
7f453be1cc
commit
5b3c24dd92
|
@ -53,7 +53,7 @@ class SetupCommand extends Command
|
|||
$filepath = $this->app->getConfigDir() . '/setup.token';
|
||||
|
||||
if (false === @file_put_contents($filepath, $token)) {
|
||||
$this->fail($this->translate('Cannot write setup token to disk.'));
|
||||
$this->fail(sprintf($this->translate('Cannot write setup token "%s" to disk.'), $filepath));
|
||||
}
|
||||
|
||||
if (false === @chmod($filepath, 0640)) {
|
||||
|
|
Loading…
Reference in New Issue