cloudbreak
cloudbreak copied to clipboard
ENGESC-16437 Fix webhdfs command status handling
Bash return codes must be between 0-255, so returning a HTTP code may result in unexpected results, such as HTTP 256 would become return 0. Also, only chown cookie if the request was successful.
See detailed description in the commit message.