1
0
Fork 0
This commit is contained in:
virtubox 2019-08-06 17:13:07 +02:00
parent eb50910963
commit 8e88c41cb2
1 changed files with 2 additions and 1 deletions

View File

@ -1,8 +1,9 @@
#!/bin/bash
# FUNCTIONS
if [ -f $HOME/.mybashrc/custom ]; then
. $HOME/.mybashrc/custom
fi
if [ "$(id -u)" != "0" ]; then
IS_SUDOERS=$(groups | grep sudo)
if [ -n "$(command -v sudo)" ] && [ -n "$IS_SUDOERS" ]; then