#!/usr/bin/env bash

try() {
  if type "$1" 2>&1> /dev/null; then
    exit $($@)
  fi
}

echo "haha"

exit $($@)
