Skip to content
Snippets Groups Projects
Commit 8fa6e02c authored by Pünkösd Marcell's avatar Pünkösd Marcell :unicorn:
Browse files

Added check for user

parent f7f7ccd9
No related branches found
No related tags found
1 merge request!1Added check for user
#!/bin/bash #!/bin/bash
# This script requires root privileges
if [[ $EUID -ne 0 ]]; then
echo "Root privileges required to run this script!"
exit 1
fi
# halt on error # halt on error
set -e set -e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment