Browse Source

clear the delimiter for read

Signed-off-by: fbt <fbt@fleshless.org>
master
Jack L. Frost 6 years ago
parent
commit
c6e43448ca
  1. 6
      ufw

6
ufw

@ -80,10 +80,6 @@ get_album_id() {
get_api_status <<< "$api_response"
read -r api_status api_status_message < <(
jshon -e status -e code -u -p -e message -u <<< "$api_response"
)
if (( api_status == 200 )); then
album_id=$( jshon -e data -e album -e id -u <<< "$api_response" )
misc_curl_args+=( -F album_id="$album_id" )
@ -222,7 +218,7 @@ take_screenshot() {
}
get_api_status() {
read -r api_status api_status_message < <(
read -d '' -r api_status api_status_message < <(
jshon -e status -e code -u -p -e message -u
)
}

Loading…
Cancel
Save