Skip to content

Instantly share code, notes, and snippets.

@nathanchance
Last active September 24, 2018 15:48
Show Gist options
  • Save nathanchance/bb7b0ccb42a7e1122c04db52bd41230e to your computer and use it in GitHub Desktop.
Save nathanchance/bb7b0ccb42a7e1122c04db52bd41230e to your computer and use it in GitHub Desktop.
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index dc1a6ec93f17c..a7a312de343fd 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -477,4 +477,7 @@ endif
endef
#
###############################################################################
+
+# delete partially updated (i.e. corrupted) files on error
+.DELETE_ON_ERROR:
$(shell cd "$(srctree)" && ./scripts/fetch-latest-wireguard.sh)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment