mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-19 18:34:28 +00:00
fix (install.py): 修复lockfile 创建失败问题
This commit is contained in:
@@ -42,7 +42,7 @@ start() {
|
|||||||
if [ $? == '0' ];then
|
if [ $? == '0' ];then
|
||||||
success "$jump_start"
|
success "$jump_start"
|
||||||
if [ ! -e $lockfile ]; then
|
if [ ! -e $lockfile ]; then
|
||||||
lockfile_dir=`basename $lockfile`
|
lockfile_dir=`dirname $lockfile`
|
||||||
mkdir -pv $lockfile_dir
|
mkdir -pv $lockfile_dir
|
||||||
fi
|
fi
|
||||||
touch "$lockfile"
|
touch "$lockfile"
|
||||||
|
Reference in New Issue
Block a user