phosphor-discovery: Fixes some conditional check

Correct the return values from string to boolean
of distro feature check for avahi and slp.

This commit also correct the check if slp and avahi is
not enabled then return

Change-Id: I2a19c14fdaf19523702062e6466d636080eeabe6
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
1 file changed
tree: dd4e0a4fb9d4cc6373ea7e83cc067788b0b365bd
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE