42ity / fty-sensor-gpio

Agent to manage GPIO sensors and devices
Other
0 stars 9 forks source link

Problem: Agent segfaults on non-existent statefile #49

Closed aquette closed 6 years ago

aquette commented 6 years ago

Solution: Only load statefile when it exists Also improve the default value setting, and add a default value in the configuration file

Signed-off-by: Arnaud Quette ArnaudQuette@Eaton.com