Skip to content

Commit

Permalink
fix: Fix restic download after missed in refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Huber committed Jan 3, 2025
1 parent fb49a36 commit 420b364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Method/ResticMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ private function ensureResticExecutable(
'#!curl -L %s | #!bunzip2 > %s',
$host_config['restic']['downloadUrl'],
$restic_path
), true, true);
), RunOptions::CAPTURE_AND_HIDE_OUTPUT, true);
$shell->run(sprintf('chmod +x %s', $restic_path), RunOptions::NONE, true);

return $restic_path;
Expand Down

0 comments on commit 420b364

Please sign in to comment.