Adding LOGFILE variable #27
Loading…
Reference in a new issue
No description provided.
Delete branch "variable-for-log-and-pidfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is way better than hardcoding log file path.
@vlaborie Review and merge welcome
I know it's not that important but we should put braces around variables, like this :
${LOGFILE}
.Other than that, I really like this kind of commits. It make the code so much more maintainable and less error prone. 👏
You should use braces when needed. For braces expansion like
${foo:-bar}
or for concatenation like echofoo${bar}
.Here, there is no need for braces. 😑
I'm against using braces anytime. 😩