This website works better with JavaScript.
Home
Help
Sign In
Open6Hosting
/
web_scripts
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
el awk para dectectar SYSUSER fallaba cuando se devolvian varias webs, por ejemplo subdominios
develop
Pablo
3 years ago
parent
36e51a5fdf
commit
6c339cd17c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
utils_wp.sh
+ 1
- 1
utils_wp.sh
View File
@@ -64,7 +64,7 @@ check_err()
}
function get_sysuser() {
SYSUSER=`ls -l /var/www/ |
grep ${WEB} | awk '
{ print $11 }' | awk -F'/' '{ print $6 }'`
SYSUSER=`ls -l /var/www/ |
awk '$9 ~ /^'${WEB}'$/
{ print $11 }' | awk -F'/' '{ print $6 }'`
echo ${SYSUSER}
}
Write
Preview
Loading…
Cancel
Save