]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/cron.dinstall
wait for background processes at dinstall's end
[dak.git] / config / debian / cron.dinstall
index a9e9bd180be29c0a54af9c8b3ad7c291cf387dea..e2dfe7c805e01af3a6ca3573b9996298ddf90464 100755 (executable)
@@ -420,14 +420,6 @@ GO=(
 )
 stage $GO &
 
-GO=(
-    FUNC="reports"
-    TIME="reports"
-    ARGS=""
-    ERR=""
-)
-stage $GO &
-
 GO=(
     FUNC="dm"
     TIME=""
@@ -518,6 +510,9 @@ GO=(
 )
 stage $GO
 
+# we need to wait for the background processes before the end of dinstall
+wait
+
 log "Daily cron scripts successful, all done"
 
 exec > "$logdir/afterdinstall.log" 2>&1