--- a/bmsd/bms.c Wed May 05 20:31:26 2021 +0200 +++ b/bmsd/bms.c Wed May 05 20:32:07 2021 +0200 @@ -1,5 +1,5 @@ /***************************************************************************** - * Copyright (C) 2017-2020 + * Copyright (C) 2017-2021 * * Michiel Broek <mbroek at mbse dot eu> * @@ -109,14 +109,14 @@ tmppath = xstrcpy(Config.web_root); tmppath = xstrcat(tmppath, (char *)"/log/fermentation/"); if (! mkdirs(tmppath, 0755)) { - rc = 5; + rc = 6; goto endit1; } free(tmppath); tmppath = xstrcpy(Config.web_root); tmppath = xstrcat(tmppath, (char *)"/log/brews/"); if (! mkdirs(tmppath, 0755)) { - rc = 5; + rc = 7; goto endit1; } free(tmppath);