]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/rbd/action/MergeDiff.cc
update sources to v12.1.2
[ceph.git] / ceph / src / tools / rbd / action / MergeDiff.cc
index 6dfca77a32bdbda34665a9b349ba0f65d990fdd0..8d586e756f24e97d56095190dd68d347ca8e3b7e 100644 (file)
@@ -389,7 +389,7 @@ static int do_merge_diff(const char *first, const char *second,
 done:
   if (pd > 2)
     close(pd);
-  if (sd)
+  if (sd > 2)
     close(sd);
   if (fd > 2)
     close(fd);