fix(recording): use portable fuser invocation

This commit is contained in:
hectorzhao
2026-08-27 17:38:34 +08:00
parent f67b33de33
commit 309bffc7ff
@@ -20,7 +20,7 @@ while IFS= read -r -d '' source; do
if [ $((now - mtime)) -lt "$MIN_AGE_SECONDS" ]; then
continue
fi
if command -v fuser >/dev/null 2>&1 && fuser -s -- "$source"; then
if command -v fuser >/dev/null 2>&1 && fuser -s "$source"; then
continue
fi
rel=${source#"$INCOMING_DIR"/}