dbwrap_tool: Avoid an unnecessary "else"
authorVolker Lendecke <vl@samba.org>
Fri, 24 Aug 2018 13:07:28 +0000 (15:07 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 3 Sep 2018 16:44:24 +0000 (18:44 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/utils/dbwrap_tool.c

index 09a27dbcb510df0ef5187e66dc147c29e8b3f46a..5609b6c43d4da4068543bb6e12a57e0f243ac3d4 100644 (file)
@@ -439,7 +439,8 @@ int main(int argc, const char **argv)
                d_fprintf(stderr, "ERROR: you must specify exactly one "
                          "of --persistent and --non-persistent\n");
                goto done;
-       } else if (non_persistent == 1) {
+       }
+       if (non_persistent == 1) {
                tdb_flags |= TDB_CLEAR_IF_FIRST;
        }