From 68582ca4661c71a5213fd74b1448b841fe1bc9b2 Mon Sep 17 00:00:00 2001 From: yumaojun <719118794@qq.com> Date: Thu, 3 Mar 2016 16:37:12 +0800 Subject: [PATCH] =?UTF-8?q?fix=20(install.py):=20=E3=80=80=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dlockfile=20=E5=88=9B=E5=BB=BA=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.sh b/service.sh index 12b3b0b96..929c319e9 100755 --- a/service.sh +++ b/service.sh @@ -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"