diff --git a/src/openalpr/support/filesystem.cpp b/src/openalpr/support/filesystem.cpp index a970788..8d46c85 100644 --- a/src/openalpr/support/filesystem.cpp +++ b/src/openalpr/support/filesystem.cpp @@ -233,7 +233,7 @@ namespace alpr if (status == 0) status = makeDir(path, mode); free(copypath); - return (status); + return (status == 0); }