Skip to content

Commit 2e1835a

Browse files
authored
Merge pull request #170 from tcharding/05-15-err
run-bitcoind: Add err function back in
2 parents 7b2b017 + 453cbea commit 2e1835a

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)