Output error message to stderr

dev
hkbakke 2017-03-18 15:22:23 +01:00 committed by GitHub
parent d8f89cae93
commit 72ae92080b
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ elif [[ ${MODE} == "unlock" ]]; then
borg_unlock
elif [[ ${MODE} == "exec" ]]; then
if [[ $# -le 1 ]]; then
echo "ERROR: No borg arguments given"
>&2 echo "ERROR: No borg arguments given"
exit 1
fi