From fe45f114e003b8866b2f40b3899a20e8f1bad8ad Mon Sep 17 00:00:00 2001 From: doktornotor Date: Fri, 28 Aug 2015 19:01:49 +0200 Subject: tinc - fix stop_service and indentation --- config/tinc/tinc.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/tinc') 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"); -- cgit v1.2.3