summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions
diff options
context:
space:
mode:
authorsullrich <sullrich@sullrichs-Mac-Pro.local>2009-12-15 11:41:13 -0500
committersullrich <sullrich@sullrichs-Mac-Pro.local>2009-12-15 11:41:13 -0500
commit869538d53dc557a3bdea048027309b6fd162fc95 (patch)
tree83a6d21a9922d8d612cca653a029c76dc706f735 /etc/phpshellsessions
parent784a076846a9ab48325d6baa280b89a8226290c1 (diff)
downloadpfsense-869538d53dc557a3bdea048027309b6fd162fc95.zip
pfsense-869538d53dc557a3bdea048027309b6fd162fc95.tar.gz
Resolve Warning: Invalid argument supplied for foreach() in /usr/local/sbin/pfSsh.php(334) : eval()'d code on line 257
Diffstat (limited to 'etc/phpshellsessions')
-rw-r--r--etc/phpshellsessions/gitsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/phpshellsessions/gitsync b/etc/phpshellsessions/gitsync
index 545653a..ef92455 100644
--- a/etc/phpshellsessions/gitsync
+++ b/etc/phpshellsessions/gitsync
@@ -141,8 +141,8 @@ if(is_dir("$CODIR/pfSenseGITREPO/pfSenseGITREPO")) {
"cd $CODIR/pfSenseGITREPO/pfSenseGITREPO && git rebase origin",
"cd $CODIR/pfSenseGITREPO/pfSenseGITREPO && git checkout -b $branch origin/$branch"
);
+ run_cmds($git_cmd);
}
- run_cmds($git_cmd);
} else {
exec("mkdir -p $CODIR/pfSenseGITREPO");
echo "Executing cd $CODIR/pfSenseGITREPO && git clone $GIT_REPO pfSenseGITREPO\n";
OpenPOWER on IntegriCloud