#!/bin/bash
set -e
set -o pipefail
shopt -s inherit_errexit

declare _x
_x=`command-with-error`
echo "_x=${_x}"
