discover/paths: Set suffix to default value on error.
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Mon, 30 Jul 2018 01:48:26 +0000 (11:48 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Mon, 30 Jul 2018 04:17:05 +0000 (14:17 +1000)
commit70bb4980b19a4ba1d3f92c18df0b03104c4a9b6b
treec56a85e95492286fc5bfc2e9823842e12a1b1025
parent0dca9e11c5bacd76a12b2e52a263ca7bd94b9a00
discover/paths: Set suffix to default value on error.

This avoids the log filling up with "Couldn't recognise suffix" messages
if a lot of partial stdout updates are received.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/paths.c