diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-05-17 20:46:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-05-17 20:46:49 +0000 |
commit | c07bbd300326d302017c85b2ab42c55f8b5cfd5a (patch) | |
tree | 30832685fb8b0d9f27d05812f2188f00cc2296b9 /etc/phpshellsessions | |
parent | ce6977aa3e61383b755a9833e8c522240f793742 (diff) | |
download | pfsense-c07bbd300326d302017c85b2ab42c55f8b5cfd5a.zip pfsense-c07bbd300326d302017c85b2ab42c55f8b5cfd5a.tar.gz |
Ticket #1678 fixes
Diffstat (limited to 'etc/phpshellsessions')
-rw-r--r-- | etc/phpshellsessions/cvssync | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index 86c9a4b..9520b04 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -36,6 +36,11 @@ if(!file_exists("/usr/bin/cvs")) { system("chmod a+rx /usr/bin/cvs"); } +if(!file_exists("/usr/bin/cvs") or !file_exists("/usr/local/bin/cvsup")) { + echo "Could not fetch cvs or cvsup. exiting."; + exit; +} + global $argv; global $command_split; |