mirror of
https://github.com/elisspace/rtinst.git
synced 2026-10-03 23:59:54 +00:00
Update rtadduser
This commit is contained in:
@@ -353,7 +353,7 @@ su $user -c 'rt -i restart'
|
||||
|
||||
dload_line=$(grep "include /etc/nginx/conf.d/rtdload;" /etc/nginx/sites-available/default)
|
||||
dload_hash=$(echo $dload_line | sed 's/[^#]*//g')
|
||||
if [ ! -z "$dload_line" -a -z "$dload_hash"]; then
|
||||
if [ ! -z "$dload_line" -a -z "$dload_hash" ]; then
|
||||
dload_flag=0
|
||||
else
|
||||
dload_flag=1
|
||||
|
||||
Reference in New Issue
Block a user