Mon, 06 Aug 2018 17:04:57 +0200
Fix not generating a valid system uuid
thermferm/rdconfig.c | file | annotate | diff | comparison | revisions |
--- 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;