aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/zabbix2/zabbix2-proxy.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/config/zabbix2/zabbix2-proxy.inc b/config/zabbix2/zabbix2-proxy.inc
index 6341c92e..aa21b817 100644
--- a/config/zabbix2/zabbix2-proxy.inc
+++ b/config/zabbix2/zabbix2-proxy.inc
@@ -73,10 +73,9 @@ function php_deinstall_zabbix2_proxy() {
if (is_dir("/var/run/zabbix2")) {
exec("/bin/rm -r /var/run/zabbix2/");
}
- }
-
- if (is_dir("/var/db/zabbix2")) {
- exec("/bin/rm -r /var/db/zabbix2/");
+ if (is_dir("/var/db/zabbix2")) {
+ exec("/bin/rm -r /var/db/zabbix2/");
+ }
}
}