Enhance git fetch error: include error on page if possible

This commit is contained in:
Marcus Hill 2023-09-30 13:52:46 +01:00
parent 05f25b3ebf
commit ac5b6c5424
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ $git_log = shell_exec("git log $repo_branch..origin/$repo_branch --pretty=format
</div>
<div class="card-body" style="text-align: center;">
<!-- Check if git fetch result is zero (success) -->
<!-- Check if git fetch result was successful (0), if not show a warning -->
<?php if ($result !== 0) { ?>
<div class="alert alert-danger" role="alert">
<strong>WARNING: Could not find execute 'git fetch'.</strong>