discover/paths: Set suffix to default value on error. v1.7.2
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 05:13:29 +0000 (15:13 +1000)
commitf0e038a4b21edeab8cd5e6a0aa7439d882bbabef
tree3c0262667f1dbcca8eedcc18b7f1a6f80eed01c4
parent1effde766f4cfc9fbf8fa7b539bebbeca59cb691
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>
(cherry picked from commit 70bb4980b19a4ba1d3f92c18df0b03104c4a9b6b)
discover/paths.c