diff options
author | sullrich <sullrich@sullrichs-Mac-Pro.local> | 2009-12-15 11:41:13 -0500 |
---|---|---|
committer | sullrich <sullrich@sullrichs-Mac-Pro.local> | 2009-12-15 11:41:13 -0500 |
commit | 869538d53dc557a3bdea048027309b6fd162fc95 (patch) | |
tree | 83a6d21a9922d8d612cca653a029c76dc706f735 /etc | |
parent | 784a076846a9ab48325d6baa280b89a8226290c1 (diff) | |
download | pfsense-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')
-rw-r--r-- | etc/phpshellsessions/gitsync | 2 |
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"; |