删除脚本ls显示

This commit is contained in:
junleea 2024-07-08 10:20:07 +08:00
parent 36e0fdb797
commit 44e9beca70
1 changed files with 0 additions and 4 deletions

View File

@ -77,8 +77,6 @@ else
git pull git pull
fi fi
` + cid.Script + ` ` + cid.Script + `
pwd
ls -lh
echo "end"` echo "end"`
//执行脚本 //执行脚本
cmd := exec.Command("/bin/bash", "-c", scriptContent) cmd := exec.Command("/bin/bash", "-c", scriptContent)
@ -219,8 +217,6 @@ else
git pull git pull
fi fi
` + res.Script + ` ` + res.Script + `
pwd
ls -lh
echo "end"` echo "end"`
//执行脚本 //执行脚本
cmd := exec.Command("/bin/bash", "-c", scriptContent) cmd := exec.Command("/bin/bash", "-c", scriptContent)