Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Line 18 creates a file named ! instead of defined LOCK_FILE #4

Open
mcans opened this issue Dec 12, 2018 · 1 comment
Open

Line 18 creates a file named ! instead of defined LOCK_FILE #4

mcans opened this issue Dec 12, 2018 · 1 comment

Comments

@mcans
Copy link

mcans commented Dec 12, 2018

Line 18 in docker-entrypoint.sh --> echo "$(date +%s)" >! "${LOCK_FILE}"
! seems to be a typo. Resulting in creating a file called ! instead of the defined variable.

@pires
Copy link
Contributor

pires commented Dec 12, 2018

It's not a typo and it's meant to overwrite the file even if it exist, regardless of the noclobber option.

However, I think it should be replaced with >|.

@pires pires self-assigned this Dec 12, 2018
@pires pires removed their assignment Jan 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants