fsfreeze: remove unnecessary condition [lgtm scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2019-09-20 15:57:31 +02:00
parent 351de28ae6
commit 8e76d28dbd
1 changed files with 1 additions and 2 deletions

View File

@ -144,8 +144,7 @@ int main(int argc, char **argv)
rc = EXIT_SUCCESS;
done:
if (fd >= 0)
close(fd);
close(fd);
return rc;
}