* 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

@ -1,3 +1,7 @@
2010-03-10 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/copydir.c: Added parenthesis.
2010-02-14 Michael Bunk <mb@computer-leipzig.com>
* NEWS, lib/gshadow.c: Fix parsing of gshadow entries.

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;
}