Commit ae2b7693 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

Use a libhal property only if it exists

Regression introduced in [c75dafab]
Bug spotted by Fabio Ritrovato
parent 2f05de0d
......@@ -270,7 +270,7 @@ static void ParseDevice( services_discovery_t *p_sd, const char *psz_device )
char *psz_disc_type;
services_discovery_sys_t *p_sys = p_sd->p_sys;
if( libhal_device_property_exists( p_sys->p_ctx, psz_device,
if( !libhal_device_property_exists( p_sys->p_ctx, psz_device,
"volume.disc.type", NULL ) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment