mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -07:00
Fix typo in add_sudo.sh
This commit is contained in:
parent
4baf5ebc2c
commit
ad96554e77
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
if [ ! -e '/etc/sudoers.d/admin' ]; then
|
if [ ! -e '/etc/sudoers.d/admin' ]; then
|
||||||
if [ ! -d '/etc/sudoers.d' ]; then
|
if [ ! -d '/etc/sudoers.d' ]; then
|
||||||
mkidr /etc/sudoers.d
|
mkdir /etc/sudoers.d
|
||||||
chmod 750 /etc/sudoers.d
|
chmod 750 /etc/sudoers.d
|
||||||
fi
|
fi
|
||||||
echo '# Created by vesta update-trigger' > /etc/sudoers.d/admin
|
echo '# Created by vesta update-trigger' > /etc/sudoers.d/admin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue