commit d1f2808d86d20bd059733d5328e79c3e2405d983
parent 8eb6a2b044d756d771cff99fe6ad4e03146d8fbe
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Tue, 23 Feb 2021 20:11:47 -0800
Don't fork in upfeed script
While very inefficient, it's easier to use. It should be able to
be written in such a way that it runs in parallel and doesn't exit
until it has no children, but, I cannot figure out how.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/local/scripts/.local/bin/upfeed b/local/scripts/.local/bin/upfeed
@@ -23,6 +23,5 @@ update() {
egrep -ve '^#' -e '^$' "${@:-$rc}" | while read feed
do
- update $feed &
+ update $feed
done
-wait