]> granicus.if.org Git - shadow/commitdiff
* libmisc/copydir.c: Added parenthesis.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 11 Mar 2010 22:00:41 +0000 (22:00 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 11 Mar 2010 22:00:41 +0000 (22:00 +0000)
ChangeLog
libmisc/copydir.c

index cdc10f78709d27820aa35e712450755031e8c634..b5d8ec52fd3e7635586ab5501738f9c424be1a0a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 3a67e75db400a6716d794b335c46c4e269ccb7b7..3c824a39d832efbd2583d179e623693ad445e7a7 100644 (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;
                }