commit 984bd9dec1226c8568eac31062c543d37ad15fa2
parent 39d4a040e1e279cabe59ccc260daf4b5b4056f82
Author: Jake Bauer <jbauer@paritybit.ca>
Date: Mon, 14 Feb 2022 22:55:18 -0500
Use printf instead of echo to print error message
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbs b/sbs
@@ -20,7 +20,7 @@ for key in $options; do
if [ -n "$value" ]; then
eval "$key='$value'"
else
- echo "Error: $key not configured in config file."
+ printf "Error: %s not configured." "$key"
exit 1
fi
done