Qihoo360 / QConf

Qihoo Distributed Configuration Management System
Other
1.87k stars 534 forks source link

agent/bin/agent-cmd.sh flock选项-e错误 #101

Open slpcat opened 6 years ago

slpcat commented 6 years ago

(flock -n -e 200 || { echo "instance already exist, please wait and try later!" ; exit 1 ; } flock选项 -e 和 -x 是相同选项,并且默认打开。 alpine linux 的flock已经去除-e,所以需要改成-x或者去掉,否则运行报错