diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-11-24 04:37:59 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-11-24 04:37:59 +0000 |
commit | 37b0098e7c999617dddc348596bc724f9a3b919f (patch) | |
tree | 417a56c6615a6c8d727bda209b6f64ac27ed1495 /etc/phpshellsessions | |
parent | f8757b62fdda91c9f60fb3e6f093b413513a2785 (diff) | |
download | pfsense-37b0098e7c999617dddc348596bc724f9a3b919f.zip pfsense-37b0098e7c999617dddc348596bc724f9a3b919f.tar.gz |
Really allow command arguments from pfSsh.php
Diffstat (limited to 'etc/phpshellsessions')
-rw-r--r-- | etc/phpshellsessions/cvssync | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index 8ced644..124332d 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -44,8 +44,9 @@ global $command_split; $branches = array("HEAD" => "Main development branch", "RELENG_1" => "1.2 Release branch", "RELENG_1_2" => "1.3 development branch"); -if($command_split[3]) { - $branch = $command_split[3]; + +if($command_split[2]) { + $branch = $command_split[2]; } else { if(!$argv[3]) { echo "\nPlease select which branch you would like:\n\n"; |