summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-12-19 02:32:56 +0000
committerLeah Rowe <leah@libreboot.org>2023-12-19 02:32:56 +0000
commit3b7009aafaf1fc81ac7e1256c82dfa8a306a5d4e (patch)
tree553f12f1c3f80d60664b29cc9af192d206ff62ec
parentc75ca20c0a6c6f3d7993d2ee9786d0451df5c6a4 (diff)
option.sh: print error on stderr, not stdout
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xinclude/option.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/option.sh b/include/option.sh
index b6e22ce8..976e604e 100755
--- a/include/option.sh
+++ b/include/option.sh
@@ -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