aboutsummaryrefslogtreecommitdiffstats
path: root/config/tinc
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-28 19:01:49 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-28 19:01:49 +0200
commitfe45f114e003b8866b2f40b3899a20e8f1bad8ad (patch)
tree8694e5f0bfa5b3250a4c87205fde758b9ae67aad /config/tinc
parentfe1f8e57ce57b879157ec264028248c31efd09a6 (diff)
downloadpfsense-packages-fe45f114e003b8866b2f40b3899a20e8f1bad8ad.tar.gz
pfsense-packages-fe45f114e003b8866b2f40b3899a20e8f1bad8ad.tar.bz2
pfsense-packages-fe45f114e003b8866b2f40b3899a20e8f1bad8ad.zip
tinc - fix stop_service and indentation
Diffstat (limited to 'config/tinc')
-rw-r--r--config/tinc/tinc.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/tinc/tinc.inc b/config/tinc/tinc.inc
index 65f07e32..81e506b4 100644
--- a/config/tinc/tinc.inc
+++ b/config/tinc/tinc.inc
@@ -159,8 +159,8 @@ function tinc_save() {
if ($tincconf['enable'] != "") {
restart_service("tinc");
- } elseif (is_process_running("tincd")); {
- stop_service("tinc");
+ } elseif (is_process_running("tincd")) {
+ stop_service("tinc");
}
rmdir_recursive("/usr/local/etc/tinc.old");