mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-16 16:57:08 +00:00
fix: process user specification
This commit is contained in:
parent
1233794da7
commit
132810ef17
@ -39,13 +39,11 @@ start_service() {
|
||||
procd_set_param stderr 1
|
||||
|
||||
if
|
||||
id -u shellclash &
|
||||
>/dev/null
|
||||
id -u shellclash &>/dev/null
|
||||
then
|
||||
procd_set_param user shellclash
|
||||
elif
|
||||
id -u nobody &
|
||||
>/dev/null
|
||||
id -u nobody &>/dev/null
|
||||
then
|
||||
procd_set_param user nobody
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user