* libmisc/copydir.c: Added parenthesis.
This commit is contained in:
parent
9866af3777
commit
d562701538
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user