diff --git a/ufw b/ufw index 0b49306..e968fb8 100755 --- a/ufw +++ b/ufw @@ -438,7 +438,7 @@ main() { for t in "${args[@]}"; do if [[ -s "$t" ]]; then - upload "$t" + upload "$t" || return $? else if [[ -f "$t" ]]; then err "$t is empty"