Update app.js
This commit is contained in:
@@ -40,7 +40,7 @@ app.get("/rp", (req, res) => {
|
||||
const changeportCommands = `
|
||||
USERNAME=$(whoami | tr '[:upper:]' '[:lower:]')
|
||||
WORKDIR="/home/\${USERNAME}/domains/\${USERNAME}.serv00.net/logs"
|
||||
portlist="\$(devil port list | grep -E '^[0-9]+[[:space:]]+[a-zA-Z]+' | sed 's/^[[:space:]]*//')"
|
||||
portlist=\$(devil port list | grep -E '^[0-9]+[[:space:]]+[a-zA-Z]+' | sed 's/^[[:space:]]*//')
|
||||
if [[ -z "\$portlist" ]]; then
|
||||
echo "无端口"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user