summaryrefslogtreecommitdiff
path: root/libcore/helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcore/helpers.c')
-rw-r--r--libcore/helpers.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libcore/helpers.c b/libcore/helpers.c
index bdddb66..6af7bcb 100644
--- a/libcore/helpers.c
+++ b/libcore/helpers.c
@@ -151,7 +151,10 @@ bool FirstFileInFolder(string &path, string &extension, string &fileName) {
void CreateFolder(string &path) {
cString command = cString::sprintf("mkdir -p %s", path.c_str());
- system(*command);
+ int ok = system(*command);
+ if (!ok) {
+ esyslog("skindesigner: error creating folder %s", path.c_str());
+ }
}
// trim from start