Creates cache files straight away

This commit is contained in:
Archie Hilton (thytom) 2019-11-06 15:37:40 +00:00
parent bca3611d2b
commit 74919c4d9c

1
bar.sh
View file

@ -55,6 +55,7 @@ run_module()
run() run()
{ {
for module in $MODULES; do for module in $MODULES; do
[[ ! -f "$OUTPUT_CACHE$module" ]] && echo "$OUTPUT_CACHE$module"
pgrep $module &> /dev/null pgrep $module &> /dev/null
notrunning=$([[ $? -eq 1 ]]) notrunning=$([[ $? -eq 1 ]])
if $notrunning && [[ $INTERNET -eq 0 ]]; then if $notrunning && [[ $INTERNET -eq 0 ]]; then