* libmisc/copydir.c: Added parenthesis.

This commit is contained in:
nekral-guest
2010-03-11 22:00:41 +00:00
parent 9866af3777
commit d562701538
2 changed files with 5 additions and 1 deletions

View File

@@ -740,7 +740,7 @@ int remove_tree (const char *root, bool remove_root)
}
(void) closedir (dir);
if (remove_root && 0 == err) {
if (remove_root && (0 == err)) {
if (rmdir (root) != 0) {
err = -1;
}