diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-14 12:20:25 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-14 12:20:25 -0300 |
commit | 4b4db04b2486997f26fcef9b202340f3cb54a4a1 (patch) | |
tree | 6b94e2fd27fa72d04c27da9a862640bf057137cc /src/etc/phpshellsessions | |
parent | d6f8f730712f43686027a707d44c9e7436c5f4cd (diff) | |
download | pfsense-4b4db04b2486997f26fcef9b202340f3cb54a4a1.zip pfsense-4b4db04b2486997f26fcef9b202340f3cb54a4a1.tar.gz |
Break after find correct branch
Diffstat (limited to 'src/etc/phpshellsessions')
-rw-r--r-- | src/etc/phpshellsessions/gitsync | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/phpshellsessions/gitsync b/src/etc/phpshellsessions/gitsync index b6d59fa..d932bb3 100644 --- a/src/etc/phpshellsessions/gitsync +++ b/src/etc/phpshellsessions/gitsync @@ -146,6 +146,7 @@ $found = false; foreach ($branches as $branchname => $branchdesc) { if ($branchname == $branch) { $found = true; + break; } } if (!$found) { |