mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
Removed echos
Removed echos i have introduced before exits, for the *dumb* obvious reasons were causing script to exit.
This commit is contained in:
parent
e6fdfd29b7
commit
92381fc2a6
1 changed files with 2 additions and 5 deletions
|
@ -1006,9 +1006,7 @@ installWireGuard(){
|
||||||
echo "done!"
|
echo "done!"
|
||||||
|
|
||||||
## || exits if cd fails.
|
## || exits if cd fails.
|
||||||
cd /usr/src/wireguard-tools-"${WG_TOOLS_SNAPSHOT}/src" || \
|
cd /usr/src/wireguard-tools-"${WG_TOOLS_SNAPSHOT}/src" || exit 1
|
||||||
echo "::: Installation Failed could not cd into /usr/src/wireguard-tools"; \
|
|
||||||
exit 1
|
|
||||||
|
|
||||||
# We install the userspace tools manually since DKMS only compiles and
|
# We install the userspace tools manually since DKMS only compiles and
|
||||||
# installs the kernel module
|
# installs the kernel module
|
||||||
|
@ -1529,8 +1527,7 @@ confOpenVPN(){
|
||||||
$SUDO mkdir /etc/openvpn/easy-rsa/pki
|
$SUDO mkdir /etc/openvpn/easy-rsa/pki
|
||||||
$SUDO chmod 700 /etc/openvpn/easy-rsa/pki
|
$SUDO chmod 700 /etc/openvpn/easy-rsa/pki
|
||||||
|
|
||||||
cd /etc/openvpn/easy-rsa || \
|
cd /etc/openvpn/easy-rsa || exit 1
|
||||||
echo "::: Error, Could not cd /etc/openvpn/easy-rsa"; exit 1
|
|
||||||
|
|
||||||
# Write out new vars file
|
# Write out new vars file
|
||||||
echo "if [ -z \"\$EASYRSA_CALLER\" ]; then
|
echo "if [ -z \"\$EASYRSA_CALLER\" ]; then
|
||||||
|
|
Loading…
Reference in a new issue