bmsd/futil.c

changeset 745
3addb8cfcc3e
parent 0
033898178630
child 747
b6fbe6821468
equal deleted inserted replaced
744:b8ccc85675a0 745:3addb8cfcc3e
1 /***************************************************************************** 1 /*****************************************************************************
2 * Copyright (C) 2017 2 * Copyright (C) 2017-2021
3 * 3 *
4 * Michiel Broek <mbroek at mbse dot eu> 4 * Michiel Broek <mbroek at mbse dot eu>
5 * 5 *
6 * This file is part of the bms (Brewery Management System) 6 * This file is part of the bms (Brewery Management System)
7 * 7 *
50 umask(oldmask); 50 umask(oldmask);
51 51
52 if ((last == 0) || (last == EEXIST)) { 52 if ((last == 0) || (last == EEXIST)) {
53 return TRUE; 53 return TRUE;
54 } else { 54 } else {
55 syslog(LOG_NOTICE, "mkdirs(%s)", name); 55 syslog(LOG_NOTICE, "mkdirs(%s): %s", name, strerror(last));
56 return FALSE; 56 return FALSE;
57 } 57 }
58 } 58 }
59 59
60 60

mercurial