Fixed incorrect return code on makedir

This commit is contained in:
Matt Hill
2015-12-23 00:21:00 -05:00
parent 101fe46117
commit 175e77c8ae

View File

@@ -233,7 +233,7 @@ namespace alpr
if (status == 0) if (status == 0)
status = makeDir(path, mode); status = makeDir(path, mode);
free(copypath); free(copypath);
return (status); return (status == 0);
} }