Is that a typo?! The file should be writable, and not executable!

This commit is contained in:
Laurent Rineau
2010-06-23 08:52:41 +00:00
parent b201e832bd
commit a12ef8ed3c
+1 -1
View File
@@ -881,7 +881,7 @@ if [ ${?} != 0 ]; then
fi
fi
# Make that file writable (lockfile create read-only files
chmod u+x "$LOCK_FILE"
chmod u+w "$LOCK_FILE"
# Put the PID of current process in the lock file
echo $$ > "$LOCK_FILE"