Merge branch 'lyk_fixbug' into 'master'
* Fix bug: Gitea cannot stop sync. See merge request easycorp/zentaopms!7100
This commit is contained in:
@@ -1372,7 +1372,7 @@ class repo extends control
|
||||
$content = file($logFile);
|
||||
$lastLine = $content[count($content) - 1];
|
||||
|
||||
if(strpos($lastLine, 'done') !== false)
|
||||
if(strpos($lastLine, 'done') === false)
|
||||
{
|
||||
if(strpos($lastLine, 'empty repository') !== false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user