# HG changeset patch # User Michiel Broek # Date 1533567897 -7200 # Node ID 3593b18486d7bd6fd9c24550c0e375b8a5c94317 # Parent 3fc61dd286563e95217f6431b5a66baad596927b Fix not generating a valid system uuid diff -r 3fc61dd28656 -r 3593b18486d7 thermferm/rdconfig.c --- a/thermferm/rdconfig.c Sat Aug 04 16:29:12 2018 +0200 +++ b/thermferm/rdconfig.c Mon Aug 06 17:04:57 2018 +0200 @@ -2336,6 +2336,10 @@ /* * If the system uuid is not set, do it now. */ + if (Config.uuid && ! strcmp((char *)"(null)", Config.uuid)) { + free(Config.uuid); + Config.uuid = NULL; + } if (Config.uuid == NULL) { uuid_t uu;