1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 00:39:02 -08:00

fix a printf

This commit is contained in:
Connor Olding 2021-09-15 22:42:58 -07:00
parent 0908513a5c
commit 0c1cf6ff31

2
sh/oxo
View file

@ -47,7 +47,7 @@ oxo() { ### @-
if [ $# -eq 0 ]; then
curl -F'file=@-' https://0x0.st && : $((succs+=1)) || : $((fails+=1))
elif [ $# -gt 255 ]; then
printf '\033[1;31m%s\n' "oxo: too many arguments (max: 255)" >&2
printf "$err" "oxo: too many arguments (max: 255)" >&2
return 255
else
for f; do