Added double square brackets to avoid: -bash: [: too many arguments error

This commit is contained in:
Aaron Blair
2016-05-10 11:18:51 -06:00
parent db9a7a2748
commit 666644d085

View File

@@ -29,7 +29,7 @@ provider=$1
for configFile in $provider/*.ovpn;
do
if [ -h ${configFile} ];
if [[ -h ${configFile} ]];
then
continue # Don't edit symbolic links (default.ovpn)
fi