Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Oct 5, 2024
1 parent 8079aa4 commit 103d979
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ check_sudo() {
# Function to create the "kids" user if it doesn't exist
create_kids_user() {
if id "kids" &>/dev/null; then
# Delete the user
echo "Existing 'kids' user found. Preparing for removal..."
pkill -u kids
sleep 2
pkill -KILL -u kids
echo "Deleting existing 'kids' user"
userdel -r kids
fi
Expand Down

0 comments on commit 103d979

Please sign in to comment.