fix(recording): use portable fuser invocation
This commit is contained in:
@@ -20,7 +20,7 @@ while IFS= read -r -d '' source; do
|
|||||||
if [ $((now - mtime)) -lt "$MIN_AGE_SECONDS" ]; then
|
if [ $((now - mtime)) -lt "$MIN_AGE_SECONDS" ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
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
|
continue
|
||||||
fi
|
fi
|
||||||
rel=${source#"$INCOMING_DIR"/}
|
rel=${source#"$INCOMING_DIR"/}
|
||||||
|
|||||||
Reference in New Issue
Block a user