summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pro-archman.sh8
1 files changed, 6 insertions, 2 deletions
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 "${@}"