diff options
-rwxr-xr-x | init-recordings-bigbluebutton.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |