summaryrefslogtreecommitdiff
path: root/bm
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-08-10 10:51:22 -0500
committerzachir <zachir@librem.one>2023-08-10 10:51:22 -0500
commit2de31b28548f379ef2fd5f2e17c9769660a0ebb5 (patch)
tree3522135f5aa03133d87bde9918d1271c4f129e06 /bm
parent63d56b52a85da451a04f63a6948287e7602fc687 (diff)
Use printf instead of echo
Diffstat (limited to 'bm')
-rwxr-xr-xbm2
1 files changed, 1 insertions, 1 deletions
diff --git a/bm b/bm
index dc02f6f..3410993 100755
--- a/bm
+++ b/bm
@@ -117,7 +117,7 @@ if [ -z "$CLIPB$BRA$BSC$FDC$FFC$LWC$MBC$QBC" ]; then
echo "$BROWSERSINSTALLED"
[ -z "$BROWSERSINSTALLED" ] && \
printf "No suitable browsers!\n" && exit 1
- BROWSERSEL="$(echo "$BROWSERSINSTALLED" | $DMENU $DEFARGS $ARG)"
+ BROWSERSEL="$(printf "$BROWSERSINSTALLED" | $DMENU $DEFARGS $ARG)"
[ -z "$BROWSERSEL" ] && \
printf "No browser selected!\n" && exit 1
case "$BROWSERSEL" in