mirror of https://github.com/jumpserver/jumpserver
fix (install.py): 修复lockfile 创建失败问题
parent
62fb6429f9
commit
68582ca466
|
@ -42,7 +42,7 @@ start() {
|
|||
if [ $? == '0' ];then
|
||||
success "$jump_start"
|
||||
if [ ! -e $lockfile ]; then
|
||||
lockfile_dir=`basename $lockfile`
|
||||
lockfile_dir=`dirname $lockfile`
|
||||
mkdir -pv $lockfile_dir
|
||||
fi
|
||||
touch "$lockfile"
|
||||
|
|
Loading…
Reference in New Issue