Whamcloud - gitweb
LU-10764 hsm: Correct debug print in ct_archive
[fs/lustre-release.git] / lustre / utils / lhsmtool_posix.c
index 05036af..2ad9f3f 100644 (file)
@@ -1089,10 +1089,10 @@ static int ct_archive(const struct hsm_action_item *hai, const long hal_flags)
                                                 src);
                                        rcf = rcf ? rcf : -errno;
                                        goto fini_minor;
+                               }
                                /* unlink old symlink done */
                                CT_TRACE("remove old symlink '%s' pointing"
                                         " to '%s'", src, buf);
-                               }
                        } else {
                                /* symlink already ok */
                                CT_TRACE("symlink '%s' already pointing"