blob: 82ff7e48b3998107616ac6bfcab1b19aa991e719 [file] [log] [blame]
# Common functions for the bisect execution
# Do not call directly. Feel free to use.
safe_run() {
CMD="$*"
$CMD
if [[ $? != 0 ]]; then
echo "'$CMD' failed, bailing out"
exit 1
fi
}