Skip to content

Commit

Permalink
Update copy-certs.sh (#44)
Browse files Browse the repository at this point in the history
Small redesign of if statement
  • Loading branch information
DavidZisky committed Feb 7, 2020
1 parent ab3b379 commit d064ca1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions quick-install/copy-certs.sh
Expand Up @@ -3,10 +3,11 @@ set -eo pipefail
unset CDPATH
IFS=$'\n\t'

namespace='kube-public'
if [ ! -z "$1" ]
if [ -n "$1" ]
then
namespace=$1
namespace=$1
else
namespace='kube-public'
fi

echo
Expand Down

0 comments on commit d064ca1

Please sign in to comment.