Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
be477d7a
Unverified
Commit
be477d7a
authored
Oct 05, 2022
by
neil
Committed by
GitHub
Oct 05, 2022
Browse files
Merge pull request #4259 from Mon-ius/master
fix a issue, when profile not end with newline
parents
6c8a623b
b95f8362
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
be477d7a
...
...
@@ -2257,6 +2257,9 @@ _setopt() {
if [ ! -f "$__conf" ]; then
touch "$__conf"
fi
if [ -n "$(tail -c 1 <"$__conf")" ]; then
echo >>"$__conf"
fi
if grep -n "^$__opt$__sep" "$__conf" >/dev/null; then
_debug3 OK
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment