Añadidos dobles corchetes

This commit is contained in:
drymer 2015-01-29 10:02:53 +01:00
parent 9bf95fb086
commit 14731db9a9
1 changed files with 2 additions and 2 deletions

View File

@ -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