From 2362a68fe948715a36ddf333aab5515afa5006b3 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 15 Jul 2019 15:17:42 +0200 Subject: lib/common-functions: silence warning of lsof --- lib/common-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/common-functions') diff --git a/lib/common-functions b/lib/common-functions index 1b8eee7..7bf79a6 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -819,7 +819,7 @@ verbose_flock() { lsof +c0 "/proc/$$/fd/$( printf '%s\n' "$@" | \ grep -vm1 '^-' - )" >&2 || true + )" >&2 2>/dev/null || true >&2 printf 'FYI: I am %s.\n' "$$" return ${err} } -- cgit v1.2.3