#!/bin/sh

chroot $1 /bin/sh --userspec=USER:GROUP
	if [ "$?" != "0" ]; then
		printf "[ X ] Failed to change root to $1.\n"
		exit 1
	fi
