From af4144a06e5e2802e58ee0669c3f30181de5bdc5 Mon Sep 17 00:00:00 2001 From: Jesus Federico Date: Tue, 23 Feb 2021 14:49:08 -0500 Subject: Update init-recordings-bigbluebutton.sh --- init-recordings-bigbluebutton.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'init-recordings-bigbluebutton.sh') diff --git a/init-recordings-bigbluebutton.sh b/init-recordings-bigbluebutton.sh index f4fd91f..51d81b2 100755 --- a/init-recordings-bigbluebutton.sh +++ b/init-recordings-bigbluebutton.sh @@ -37,6 +37,10 @@ main() { fi } +check_root() { + if [ $EUID != 0 ]; then err "You must run this command as root."; fi +} + check_host() { if [ ! -z "$HOST" ]; then need_pkg dnsutils apt-transport-https net-tools -- cgit v1.2.3