From 218170b963ce12f42e7c74f195040761ff67dc44 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 29 Jul 2013 21:39:28 -0400 Subject: pro-archman: Move cleanup to a new function. --- diff --git a/src/pro-archman.sh b/src/pro-archman.sh index 6501f0e..1f9628b 100644 --- a/src/pro-archman.sh +++ b/src/pro-archman.sh @@ -109,8 +109,7 @@ main() status=${?} fi - update_feeds - collect_garbage + fini return ${status} } @@ -156,4 +155,9 @@ get_conf() return 0 } +fini() +{ + update_feeds + collect_garbage +} main "${@}" -- cgit v0.9.1