From 0bdd88804d147c2c24e36b5190e14219431dc34b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 25 May 2018 23:20:23 +0200 Subject: lib/common-functions: verbose_flock: print to stderr instead of stdout --- lib/common-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common-functions b/lib/common-functions index 7fe91ef..d834551 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -732,8 +732,8 @@ verbose_flock() { lsof +c0 "/proc/$$/fd/$( printf '%s\n' "$@" | \ grep -vm1 '^-' - )" || true - printf 'FYI: I am %s.\n' "$$" + )" >&2 || true + >&2 printf 'FYI: I am %s.\n' "$$" return ${err} } } -- cgit v1.2.3-70-g09d2