Don't wait on compsize since compsize doesn't run (#1693)

This commit is contained in:
Như Bảo Trương 2024-09-21 02:48:18 +07:00 committed by GitHub
parent e000af2ce9
commit a6fe9a1952
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -274,7 +274,7 @@ fi
cmd find "$TARGET"/ -mindepth 1 -maxdepth 1 -mtime +"$DB_MAX_AGE" \( -name "$RMLINT_DB" -or -name "$DUPEREMOVE_DB" \) -delete
powerchange || true
# cmd compsize "$TARGET"/ &
worker_waiter
# worker_waiter
if ! is_true "$RMLINT_SKIP"; then
if ! is_true "$RMLINT_REPLAY_DISABLE" && [[ -f "$TARGET"/"$RMLINT_DB" ]]; then
# shellcheck disable=SC2086
@ -314,7 +314,7 @@ fi
cmd cp -a "$DUPEREMOVE_DB" "$TARGET"/
cmd rm -f "$DUPEREMOVE_DB"
# cmd compsize "$TARGET"/ &
worker_waiter
# worker_waiter
fi
) &
MAINPID="$!"