Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
letsencrypt.sh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
letsencrypt.sh
Commits
f06f764f
Commit
f06f764f
authored
Jan 08, 2016
by
Lukas Schauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use _exiterr helper in a few more places
parent
bc580335
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
letsencrypt.sh
letsencrypt.sh
+2
-6
No files found.
letsencrypt.sh
View file @
f06f764f
...
...
@@ -52,18 +52,14 @@ load_config() {
# shellcheck disable=SC1090
.
"
${
CONFIG
}
"
else
echo
"Specified config file doesn't exist."
>
&2
exit
1
_exiterr
"Specified config file doesn't exist."
fi
# Remove slash from end of BASEDIR. Mostly for cleaner outputs, doesn't change functionality.
BASEDIR
=
"
${
BASEDIR
%%/
}
"
# Check BASEDIR and set default variables
if
[[
!
-d
"
${
BASEDIR
}
"
]]
;
then
echo
"BASEDIR does not exist:
${
BASEDIR
}
"
>
&2
exit
1
fi
[[
-d
"
${
BASEDIR
}
"
]]
||
_exiterr
"BASEDIR does not exist:
${
BASEDIR
}
"
}
# Initialize system
...
...
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