Alexandre Alapetite 3 years ago committed by GitHub
parent 70d8935a1b
commit c5ca737062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/Controllers/updateController.php

@ -16,7 +16,8 @@ class FreshRSS_update_Controller extends Minz_ActionController {
throw new Exception($errorMessage);
}
exec('git branch --show-current', $output, $return);
//Note `git branch --show-current` requires git 2.22+
exec('git symbolic-ref --short HEAD', $output, $return);
if ($return != 0) {
throw new Exception($errorMessage);
}

Loading…
Cancel
Save