mirror of
https://github.com/notwa/rc
synced 2024-11-05 02:59:03 -08:00
fix a printf
This commit is contained in:
parent
0908513a5c
commit
0c1cf6ff31
1 changed files with 1 additions and 1 deletions
2
sh/oxo
2
sh/oxo
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue