diff options
Diffstat (limited to 'src/extras/rh-upload')
-rwxr-xr-x | src/extras/rh-upload | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extras/rh-upload b/src/extras/rh-upload index 5837b787..6ec04511 100755 --- a/src/extras/rh-upload +++ b/src/extras/rh-upload @@ -251,7 +251,7 @@ function closure(){ echov 1 "## Your file was split and the hunks are in: $Split_dir/ " fi - if [ "$Ftp_res" -eq 0 ]; then + if [ -n "$Ftp_res" ] && [ "$Ftp_res" -eq 0 ]; then echov 1 "This script has completed successfully the upload." if [ "$Compress" != 0 ] || [ "$Split" != 0 ]; then echov 1 "You performed file encryption and/or file splitting." |