pointrelease: Add a `cleanup` dummy function

上级 97969db7
......@@ -49,6 +49,10 @@ export SCRIPTVARS=${configdir}/vars
umask 022
# Get rid of tempfiles at the end
cleanup() {
echo "You have to clean up your mess on your own. Sorry." >&2
exit 1
}
trap cleanup EXIT TERM HUP INT QUIT
function usage() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册