Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #35 from mariux64/fix-download-fail-#34
fix issue #34
  • Loading branch information
donald committed Aug 23, 2019
2 parents c9ebf53 + b153d84 commit ac3b969
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/beesh.sh.in
Expand Up @@ -291,6 +291,11 @@ function fetch_one_file() {
trap - EXIT

ls -ld "${F}/${file}"

if [ ! -s "${F}/${file}" ] ; then
print_error "ERROR: ${F}/${file} is empty, download failed."
exit 1
fi
fi

bee_FETCHED_FILE="${F}/${file}"
Expand Down

0 comments on commit ac3b969

Please sign in to comment.