1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +00:00

Print errors to stderr

This makes it possible to run e.g. "yadm -Y foo introspect repo
2>/dev/null" and get an empty output instead of getting the error
message about foo not being fully qualified.
This commit is contained in:
Erik Flodin
2021-01-05 21:57:32 +01:00
parent cd50c128ba
commit 6378fe3073
13 changed files with 40 additions and 34 deletions

2
yadm
View File

@@ -1745,7 +1745,7 @@ function debug() {
function error_out() {
echo_e "ERROR: $*"
echo_e "ERROR: $*" >&2
exit_with_hook 1
}