summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-05-17 20:46:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-05-17 20:46:43 +0000
commit2b065943474ecb83eaecb379db85ae2328b4249a (patch)
tree60390916d81f2f7cab79bd5b23a09737740061f7 /etc
parent81741179f1c456f0e976276285a84fc3d8b71446 (diff)
downloadpfsense-2b065943474ecb83eaecb379db85ae2328b4249a.zip
pfsense-2b065943474ecb83eaecb379db85ae2328b4249a.tar.gz
Ticket #1678 fixes
Diffstat (limited to 'etc')
-rw-r--r--etc/phpshellsessions/cvssync5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync
index df2394f..57303e6 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