Commit 9e62f693 authored by helmo's avatar helmo

Improve readability of message

parent d54d1881
......@@ -210,8 +210,8 @@ class Provision_Config {
}
$status = provision_file()->file_put_contents($filename, $this->render_template($template, $this->data))
->succeed('Generated config in write()' . (empty($this->description) ? $filename : $this->description . ' (' . $filename. ')'), 'success')
->fail('Could not generate in write()' . (empty($this->description) ? $filename : $this->description . ' (' . $filename. ')'))->status();
->succeed('Generated config in write(): ' . (empty($this->description) ? $filename : $this->description . ' (' . $filename. ')'), 'success')
->fail('Could not generate in write(): ' . (empty($this->description) ? $filename : $this->description . ' (' . $filename. ')'))->status();
// Change the permissions of the file if needed
if (!is_null($this->mode)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment