#!/bin/bash
if [[ "$1" == "--pty" ]]; then
    shift
    exec /usr/bin/script "$@"
else
    exec "$@"
fi
