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