From c487eec4b060b6d29c7b23bed3000f930ad0deb6 Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Thu, 16 Apr 2020 14:03:08 +0200 Subject: [PATCH] Bash good practices --- openvpn-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 4d97cd4..6450db2 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash +set -euo pipefail # Secure OpenVPN server installer for Debian, Ubuntu, CentOS, Amazon Linux 2, Fedora and Arch Linux # https://github.com/angristan/openvpn-install