Tell the user which file the setup token could not be written to

fixes #7407
This commit is contained in:
Michael Friedrich 2014-10-20 10:00:23 +02:00 committed by Johannes Meyer
parent 7f453be1cc
commit 5b3c24dd92
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {