mirror of
https://github.com/Icinga/icinga2.git
synced 2026-03-27 04:43:42 -04:00
parent
554531a6b0
commit
65cbf04454
1 changed files with 1 additions and 1 deletions
|
|
@ -724,7 +724,7 @@ void Utility::MkDirP(const String& path, int mode)
|
|||
#ifndef _WIN32
|
||||
pos = path.Find("/", pos + 1);
|
||||
#else /*_ WIN32 */
|
||||
pos = path.Find("\\", pos + 1);
|
||||
pos = path.FindFirstOf("/\\", pos + 1);
|
||||
#endif /* _WIN32 */
|
||||
MkDir(path.SubStr(0, pos), mode);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue