diff options
author | P. J. McDermott <pjm@nac.net> | 2012-01-22 02:07:10 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-01-22 02:07:10 (EST) |
commit | 8d1c43947c4c4e9c1a7d3a4b78c5bc48b4b9617f (patch) | |
tree | 198a66993a6268fefaef0853fc008246a8b52321 /src/opkbuild | |
parent | 5e034918e86da3709acb7cc9c4fab8357d4adff4 (diff) |
Try to clean up tmp on error.
Diffstat (limited to 'src/opkbuild')
-rw-r--r-- | src/opkbuild | 1 |
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 } |