The following commit has been merged in the master branch:
commit 1de3e1e0f306fc404958f01f38708f9fb3599924
Author: Guillem Jover <[email protected]>
Date:   Wed Oct 14 04:24:44 2009 +0200

    dpkg-statoverride: Fix typo inverting the override exists check

diff --git a/src/statcmd.c b/src/statcmd.c
index 7f8ee6b..fe30b8e 100644
--- a/src/statcmd.c
+++ b/src/statcmd.c
@@ -269,7 +269,7 @@ statoverride_add(const char *const *argv)
        filename = path_cleanup(path);
 
        filestat = statdb_node_find(filename);
-       if (*filestat == NULL) {
+       if (*filestat != NULL) {
                if (opt_force)
                        warning(_("An override for '%s' already exists, "
                                  "but --force specified so will be ignored."),

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to