resovle the comments

Signed-off-by: xu yang <xyang@ciq.com>
This commit is contained in:
xu yang
2024-07-25 06:42:16 +00:00
parent 62d9b5f71d
commit cec903aeeb

View File

@@ -124,7 +124,7 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
cerr := util.CopyFile(tempFile.Name(), overlayFile)
if cerr != nil {
wwlog.Error("Unable to copy data from temp file: %s to target file: %s, err: %s", tempFile.Name(), overlayFile, err)
os.Exit(1)
return cerr
}
}