Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-15 15:17:42 +0200
committerErich Eckner <git@eckner.net>2019-07-15 15:17:42 +0200
commit2362a68fe948715a36ddf333aab5515afa5006b3 (patch)
tree0f5c4cfae43c6278332b09f592c3b1b0ff6c3638 /lib
parent661020218e7aea7b28da4185f869aa478e2f19dc (diff)
lib/common-functions: silence warning of lsof
Diffstat (limited to 'lib')
-rwxr-xr-xlib/common-functions2
1 files changed, 1 insertions, 1 deletions
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}
}