1
0
Fork 0
mirror of https://github.com/Nyr/openvpn-install.git synced 2025-04-05 05:33:30 +03:00

Update openvpn-install.sh

Will halt the script if a command returns a error code >= 1
explained better [here](http://stackoverflow.com/questions/821396/aborting-a-shell-script-if-any-command-returns-a-non-zero-value#comment630464_821419)
This commit is contained in:
dmbekker 2013-05-20 00:13:00 +02:00
parent ce8077f048
commit 5e378a2a5c

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
# OpenVPN road warrior installer for Debian-based distros
# This script will only work on Debian-based systems. It isn't bulletproof but