From 28310bb3f393b6517d0347eea55b88bf9193076a Mon Sep 17 00:00:00 2001 From: D4708 <76843085+D4708@users.noreply.github.com> Date: Mon, 1 Mar 2021 17:26:37 +0200 Subject: [PATCH] remove unused construction --- twister-cli-installer.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/twister-cli-installer.sh b/twister-cli-installer.sh index fff6473..6f4f7ff 100644 --- a/twister-cli-installer.sh +++ b/twister-cli-installer.sh @@ -6,13 +6,6 @@ # https://github.com/twisterarmy/twister-cli-installer # Based on the openvpn-install codebase (https://github.com/angristan/openvpn-install) -function isRoot() { - - if [ "$EUID" -ne 0 ]; then - return 1 - fi -} - function checkOS() { if [[ -e /etc/debian_version ]]; then