diff options
author | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2009-09-08 18:43:06 +0000 |
---|---|---|
committer | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2009-09-08 18:43:06 +0000 |
commit | 877edc5c5e39e4aa41a392bf5c87070a5752a172 (patch) | |
tree | 786b8983b4dde057043f783323db9f3c8a1915eb /src/extras/rh-upload | |
parent | 974dbf9c262921502d73d2fc527146deb78db693 (diff) | |
download | sos-877edc5c5e39e4aa41a392bf5c87070a5752a172.tar.gz |
fix rh-upload to not fail if ftp_res is nonzero|empty
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@637 ef72aa8b-4018-0410-8976-d6e080ef94d8
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." |