diff --git a/borghelper.sh b/borghelper.sh index 4ccb10f..9e54172 100755 --- a/borghelper.sh +++ b/borghelper.sh @@ -49,9 +49,9 @@ fi ### pre-requisites # is user root? -#if [ ! "$( id -u )" -eq 0 ]; then -# consoleError 1 'You must be root to run this script.' -#fi +if [ ! "$( id -u )" -eq 0 ]; then + consoleError 1 'You must be root to run this script.' +fi # has a parameter been passed to this script? if [ -z "$1" ]; then