From 14731db9a9cded642499ff9376125f0cd88961ff Mon Sep 17 00:00:00 2001 From: drymer Date: Thu, 29 Jan 2015 10:02:53 +0100 Subject: [PATCH] =?UTF-8?q?A=C3=B1adidos=20dobles=20corchetes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i3/openvpn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3/openvpn b/i3/openvpn index a401ad2..c7170bb 100755 --- a/i3/openvpn +++ b/i3/openvpn @@ -4,9 +4,9 @@ TMP=/var/run/openvpn.pid ps="$(ps aux|grep openvpn | grep 'openvpn --config' | grep -v grep | cut -d' ' -f1)" -if [ -z $ps ]; +if [[ -z $ps ]]; then - if [ -e $TMP ]; + if {[ -e $TMP ]]; then rm $TMP fi