aboutsummaryrefslogtreecommitdiffstats
path: root/config/avahi
diff options
context:
space:
mode:
Diffstat (limited to 'config/avahi')
-rw-r--r--config/avahi/avahi.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/avahi/avahi.inc b/config/avahi/avahi.inc
index a89b5da2..7c882789 100644
--- a/config/avahi/avahi.inc
+++ b/config/avahi/avahi.inc
@@ -176,7 +176,7 @@ function avahi_sync() {
avahi_write_config();
// Is package enabled?
- if (isset($config['installedpackages']['avahi']['config'][0]['enable'])
+ if (($config['installedpackages']['avahi']['config'][0]['enable'])
&& file_exists("/usr/local/etc/rc.d/avahi-daemon.sh")) {
avahi_start();
}