#!/bin/bash
#
# ::do_not_edit::
# ::maintainer::
#
CMD=$(basename $0)
CMDVER="1.0"
CMDSTR="$CMD v$CMDVER (2024-08-13)"

echo "
== $CMDSTR = RUN COMMAND AS ROOT ==
"
[ $# = 0 ] && {
	echo -e "\nusage: $CMD commandline\n" >&2
	exit 1
}
sudo -H "$@"
exit_status=$?

echo -e "\ncommand ended with status: $exit_status\n"
sleep 2

exit $exit_status
