simplification
This commit is contained in:
parent
6c22a7372d
commit
ae681ad6d2
1 changed files with 1 additions and 1 deletions
|
|
@ -1,3 +1,3 @@
|
|||
echo $LC_MESSAGES | grep -qE "en_US.UTF-8|C.UTF-8" || export LC_MESSAGES=C.UTF-8;\
|
||||
CUR_USER=$(whoami);\
|
||||
groups $CUR_USER | grep sudo && sudo -n -u $CUR_USER sh -c "sudo -n uname 2>&1 > /dev/null"
|
||||
groups $CUR_USER | grep sudo && sudo -nu $CUR_USER sudo -n uname > /dev/null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue