提交 5ac1ebcc 编写于 作者: R Ryan Murray

fix incorrectly inverted lockfile check

上级 e1374184
...@@ -11,7 +11,7 @@ export SCRIPTVARS=/org/ftp.debian.org/katie/vars ...@@ -11,7 +11,7 @@ export SCRIPTVARS=/org/ftp.debian.org/katie/vars
LOCKFILE="/org/wanna-build/tmp/DB_Maintenance_In_Progress" LOCKFILE="/org/wanna-build/tmp/DB_Maintenance_In_Progress"
if [ ! -e "$ftpdir/Archive_Maintenance_In_Progress" ]; then if [ ! -e "$ftpdir/Archive_Maintenance_In_Progress" ]; then
if lockfile -! -r3 $LOCKFILE; then if lockfile -r3 $LOCKFILE; then
cleanup() { cleanup() {
rm -f "$LOCKFILE" rm -f "$LOCKFILE"
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册