Przeglądaj źródła

Revert "Update git command (#2331)"

This reverts commit afd1a8784c2a83426388b39d32703fb82c223f76.
Alexis Degrugillier 7 lat temu
rodzic
commit
0eea6d5ab5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Controllers/updateController.php

+ 1 - 1
app/Controllers/updateController.php

@@ -32,7 +32,7 @@ class FreshRSS_update_Controller extends Minz_ActionController {
 		$output = array();
 		$return = 1;
 		try {
-			exec('git clean -d --force', $output, $return);
+			exec('git clean -f -d -f', $output, $return);
 			if ($return == 0) {
 				exec('git pull --ff-only', $output, $return);
 			} else {