#!/bin/bash
printf 'Anolis Agent installation\n\n'
"$@"
status=$?
printf '\nExit status: %s\n' "$status"
if (( status != 0 )) && [[ -t 0 ]]; then
  read -r -p 'Press Enter to close this window. ' _
fi
exit "$status"
