Simplify logical expression
authorMichael Neumann <mneumann@ntecs.de>
Sun, 14 Jun 2009 16:52:03 +0000 (18:52 +0200)
committerMichael Neumann <mneumann@ntecs.de>
Sun, 14 Jun 2009 16:52:03 +0000 (18:52 +0200)
sbin/hammer/cmd_mirror.c

index 2569297..7ee3810 100644 (file)
@@ -307,7 +307,7 @@ done:
 static void
 create_pfs(const char *filesystem, uuid_t *s_uuid)
 {
-       if (ForceYesOpt != 0)
+       if (ForceYesOpt == 1)
        {
                fprintf(stderr, "PFS slave %s does not exist. "
                        "Auto create new slave PFS!\n", filesystem);