Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Admin9705 committed Sep 17, 2024
1 parent 0d1b020 commit 1760758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mods/scripts/menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [[ -z "$SUDO_USER" ]]; then
echo -e "${RED}Run as user '$REQUIRED_USER' by using typing 'su $REQUIRED_USER'"
echo -e "Then type 'sudo plexguide'${NC}"
echo ""
read -p "Press [ENTER] to acknowledge 1"
read -p "Press [ENTER] to acknowledge"
bash /pg/installer/menu_exit.sh
exit 1
elif [[ $SUDO_UID -ne 1000 ]] || [[ $SUDO_GID -ne 1000 ]]; then
Expand All @@ -39,7 +39,7 @@ elif [[ $EUID -ne 0 ]]; then
echo -e "Run as user '$REQUIRED_USER' by using typing 'su $REQUIRED_USER'"
echo -e "Then type 'sudo plexguide'${NC}"
echo ""
read -p "Press [ENTER] to acknowledge 3"
read -p "Press [ENTER] to acknowledge"
bash /pg/installer/menu_exit.sh
exit 1
fi
Expand Down

0 comments on commit 1760758

Please sign in to comment.