You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 5 година
пре 4 година
пре 5 година
пре 4 година
пре 5 година
1234567891011121314151617
  1. #!/bin/bash
  2. # This loops the offload-one script while the RUN file exists.
  3. # See offload-one for details.
  4. SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  5. while [[ -f RUN ]]
  6. do
  7. "${SCRIPT_DIR}/offload-one"
  8. result="${?}"
  9. if [[ "${result}" -ne 0 ]]
  10. then
  11. date
  12. echo "offloader exited with ${result}"
  13. exit "${result}"
  14. fi
  15. done