Skip to content

Commit 453cbea

Browse files
committed
run-bitcoind: Add err function back in
This got deleted somehow and its still used. I was surprised that `shellcheck` does not find this, I would have thought a shell linter would have access to `$PATH` and be able to tell that the function does not exist. Anywho, add the function back in from a previous release. Fix: #168
1 parent 71a6018 commit 453cbea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

contrib/run-bitcoind.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,12 @@ run_bitcoind() {
211211
say() {
212212
echo "run-bitcoind: $1"
213213
}
214+
215+
err() {
216+
echo "$1" >&2
217+
exit 1
218+
}
219+
214220
#
215221
# Main script
216222
#

0 commit comments

Comments
 (0)