mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-16 12:24:46 -04:00
Fix update git version (#6513)
fix https://github.com/FreshRSS/FreshRSS/issues/6512 Compatibility with git older than 2.37
This commit is contained in:
committed by
GitHub
parent
848c8195dd
commit
aa2be914d7
@@ -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!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user