summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-25 23:20:23 +0200
committerErich Eckner <git@eckner.net>2018-05-25 23:20:23 +0200
commit0bdd88804d147c2c24e36b5190e14219431dc34b (patch)
tree23713bfd4c177e324ebb464994223569423a289c
parent3696b3e8607fb24deb7b85970c0260fc0b50a9a3 (diff)
downloadbuilder-0bdd88804d147c2c24e36b5190e14219431dc34b.tar.xz
lib/common-functions: verbose_flock: print to stderr instead of stdout
-rwxr-xr-xlib/common-functions4
1 files 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}
}
}