aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/updateController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-05-29 23:01:14 +0200
committerGravatar GitHub <noreply@github.com> 2024-05-29 23:01:14 +0200
commitaa2be914d7fa61052711798846da0ff74ec8ee18 (patch)
tree018cead5fc4cc1da0f5be67662ebbd63f7486161 /app/Controllers/updateController.php
parent848c8195ddfbe72c7d87a7c151a8db4356946bd8 (diff)
Fix update git version (#6513)
fix https://github.com/FreshRSS/FreshRSS/issues/6512 Compatibility with git older than 2.37
Diffstat (limited to 'app/Controllers/updateController.php')
-rw-r--r--app/Controllers/updateController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/updateController.php b/app/Controllers/updateController.php
index f706e1713..f07ed338b 100644
--- a/app/Controllers/updateController.php
+++ b/app/Controllers/updateController.php
@@ -20,7 +20,7 @@ class FreshRSS_update_Controller extends FreshRSS_ActionController {
'Please git pull manually!');
}
- exec('git -v', $output, $return);
+ exec('git --version', $output, $return);
if ($return != 0) {
throw new Minz_Exception("Error {$return} git not found: Please update manually!");
}