summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-05-17 20:46:49 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-05-17 20:46:49 +0000
commitc07bbd300326d302017c85b2ab42c55f8b5cfd5a (patch)
tree30832685fb8b0d9f27d05812f2188f00cc2296b9
parentce6977aa3e61383b755a9833e8c522240f793742 (diff)
downloadpfsense-c07bbd300326d302017c85b2ab42c55f8b5cfd5a.zip
pfsense-c07bbd300326d302017c85b2ab42c55f8b5cfd5a.tar.gz
Ticket #1678 fixes
-rw-r--r--etc/phpshellsessions/cvssync5
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;
OpenPOWER on IntegriCloud