Skip to content

A free, self-hostable news aggregator…

Update git command (#2331)

Alexis Degrugillierafd1a8784c2a
diff --git a/app/Controllers/updateController.php b/app/Controllers/updateController.php
index 2be644c85..46157960d 100644
--- a/app/Controllers/updateController.php
+++ b/app/Controllers/updateController.php
@@ -32,7 +32,7 @@ class FreshRSS_update_Controller extends Minz_ActionController {
$output = array();
$return = 1;
try {
- exec('git clean -f -d -f', $output, $return);
+ exec('git clean -d --force', $output, $return);
if ($return == 0) {
exec('git pull --ff-only', $output, $return);
} else {