handle upload failing

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2026-11-27 21:20:41 +00:00
parent 21ca864efc
commit 86b08e5b8a
+1 -1
View File
@@ -438,7 +438,7 @@ main() {
for t in "${args[@]}"; do for t in "${args[@]}"; do
if [[ -s "$t" ]]; then if [[ -s "$t" ]]; then
upload "$t" upload "$t" || return $?
else else
if [[ -f "$t" ]]; then if [[ -f "$t" ]]; then
err "$t is empty" err "$t is empty"