diff options
| author | 2024-05-29 23:01:14 +0200 | |
|---|---|---|
| committer | 2024-05-29 23:01:14 +0200 | |
| commit | aa2be914d7fa61052711798846da0ff74ec8ee18 (patch) | |
| tree | 018cead5fc4cc1da0f5be67662ebbd63f7486161 /app/Controllers/updateController.php | |
| parent | 848c8195ddfbe72c7d87a7c151a8db4356946bd8 (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.php | 2 |
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!"); } |
