option.sh: print error on stderr, not stdout

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe 2023-12-19 02:32:56 +00:00
parent c75ca20c0a
commit 3b7009aafa
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ items()
{
rval=1
if [ ! -d "${1}" ]; then
printf "items: directory '%s' doesn't exist" "${1}"
printf "items: directory '%s' doesn't exist" "${1}" 1>&2
return 1
fi
for x in "${1}/"*; do