Просмотр исходного кода

Revert "Update git command (#2331)"

This reverts commit afd1a8784c2a83426388b39d32703fb82c223f76.
Alexis Degrugillier 7 лет назад
Родитель
Сommit
0eea6d5ab5
1 измененных файлов с 1 добавлено и 1 удалено
  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 {