summaryrefslogtreecommitdiffstats
path: root/src/etc/phpshellsessions
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-09-16 14:43:30 +0545
committerPhil Davis <phil.davis@inf.org>2015-09-16 14:43:30 +0545
commit6990ad353c23ba4ebfd89e3a6070e99c368051f0 (patch)
treeca99ddd1bb6481ac651f41b0c76a5465ec7ff806 /src/etc/phpshellsessions
parentcc493d00395ad5e9b6f90c46b1882b3546c2b1ca (diff)
downloadpfsense-6990ad353c23ba4ebfd89e3a6070e99c368051f0.zip
pfsense-6990ad353c23ba4ebfd89e3a6070e99c368051f0.tar.gz
White space and minor bits in etc
Cleaner version of https://github.com/pfsense/pfsense/pull/1846
Diffstat (limited to 'src/etc/phpshellsessions')
-rw-r--r--src/etc/phpshellsessions/gitsync2
-rw-r--r--src/etc/phpshellsessions/svc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/phpshellsessions/gitsync b/src/etc/phpshellsessions/gitsync
index d932bb3..d440e5a 100644
--- a/src/etc/phpshellsessions/gitsync
+++ b/src/etc/phpshellsessions/gitsync
@@ -410,7 +410,7 @@ function isUrl($url = "") {
if ($url) {
if (strstr($url, "rcs.pfsense.org") or
strstr($url, "mainline") or
- strstr($url, ".git") or
+ strstr($url, ".git") or
strstr($url, "git://")) {
return true;
}
diff --git a/src/etc/phpshellsessions/svc b/src/etc/phpshellsessions/svc
index ee1ab40..7343393 100644
--- a/src/etc/phpshellsessions/svc
+++ b/src/etc/phpshellsessions/svc
@@ -31,7 +31,7 @@ $action = $args[0];
// dhcpd, openvpn, etc.
$svc_name = $args[1];
-// Handle servive-specific options.
+// Handle service-specific options.
switch ($svc_name) {
case "openvpn":
if (in_array($args[2], array("server", "client"))) {
OpenPOWER on IntegriCloud