Stated during review but missed in the previous commit.
-/* $OpenBSD: efi_installboot.c,v 1.8 2022/11/22 09:53:46 tobhe Exp $ */
+/* $OpenBSD: efi_installboot.c,v 1.9 2022/11/22 14:37:58 kn Exp $ */
/* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */
/*
if (verbose)
fprintf(stderr, "%s %s to %s\n",
(nowrite ? "would copy" : "copying"), src, dst);
- if (!nowrite)
+ if (!nowrite) {
rslt = filecopy(src, dst);
if (rslt == -1)
goto cleanup;
+ }
}
rslt = 0;