summaryrefslogtreecommitdiffstats
path: root/src/etc/phpshellsessions
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-14 12:20:25 -0300
committerRenato Botelho <renato@netgate.com>2015-09-14 12:20:25 -0300
commit4b4db04b2486997f26fcef9b202340f3cb54a4a1 (patch)
tree6b94e2fd27fa72d04c27da9a862640bf057137cc /src/etc/phpshellsessions
parentd6f8f730712f43686027a707d44c9e7436c5f4cd (diff)
downloadpfsense-4b4db04b2486997f26fcef9b202340f3cb54a4a1.zip
pfsense-4b4db04b2486997f26fcef9b202340f3cb54a4a1.tar.gz
Break after find correct branch
Diffstat (limited to 'src/etc/phpshellsessions')
-rw-r--r--src/etc/phpshellsessions/gitsync1
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) {
OpenPOWER on IntegriCloud