mps-sudo_user
This commit is contained in:
parent
b0d3632bd0
commit
c1120648f1
1 changed files with 1 additions and 1 deletions
2
bin/mps
2
bin/mps
|
@ -3807,7 +3807,7 @@ ana(){
|
|||
if [ `id -u` = 0 ] ; then
|
||||
ayarlar "$@"
|
||||
else
|
||||
#export SUDOUSER=$USER
|
||||
# sudo yetkisi ile yapılması ve SUDO_USER değişkeninden çalıştıran kullanıcı alınabilir.
|
||||
sudo sh -c "mps $@"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue