Date: | 2015-04-26 20:53:14 (8 years 5 months ago) |
---|---|
Author: | Maarten ter Huurne |
Commit: | 73ceffa51d3450d2d20ce933e7fc6da187e09fc8 |
Message: | Fix bug in section directory creation method The child directory (the one bearing the section name) was never created; instead the parent directory (named "sections") was created twice. |
Files: |
src/menu.cpp (1 diff) |
Change Details
src/menu.cpp | ||
---|---|---|
131 | 131 | } |
132 | 132 | |
133 | 133 | string childDir = parentDir + "/" + sectionName; |
134 | if (mkdir(parentDir.c_str(), 0755) && errno != EEXIST) { | |
134 | if (mkdir(childDir.c_str(), 0755) && errno != EEXIST) { | |
135 | 135 | WARNING("Failed to create child section dir: %s\n", strerror(errno)); |
136 | 136 | return ""; |
137 | 137 | } |
Branches:
install_locations
master
opkrun
packages