Skip to content

Commit

Permalink
Merge 394b923 into 53af2a9
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm committed Jun 17, 2019
2 parents 53af2a9 + 394b923 commit f3199f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CosyComposer.php
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,9 @@ public function run()
{
// Always start by making sure the .ssh directory exists.
$directory = sprintf('%s/.ssh', getenv('HOME'));
@mkdir($directory, 0700);
if (!file_exists($directory)) {
@mkdir($directory, 0700);
}
if (!empty($_SERVER['violinist_hostname'])) {
$this->log(sprintf('Running update check on %s', $_SERVER['violinist_hostname']));
}
Expand Down

0 comments on commit f3199f3

Please sign in to comment.