summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/opkbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opkbuild b/src/opkbuild
index 42e903f..b5b0ff0 100644
--- a/src/opkbuild
+++ b/src/opkbuild
@@ -29,6 +29,7 @@ print_usage()
error()
{
printf 'opkbuild: [%s] Error\n' "${1}"
+ rm -Rf tmp 2> /dev/null
exit 1
}