Skip to content
Permalink
Browse files

Merge pull request #99 from luisdavim/patch-2

fixes #98
  • Loading branch information...
jonmosco committed Jul 17, 2019
2 parents 623fe07 + 8f1bf36 commit cacd8b8b06a0ae256fefc3ec6efdb0d195258e59
Showing with 2 additions and 2 deletions.
  1. +2 −2 kube-ps1.sh
@@ -197,10 +197,10 @@ _kube_ps1_file_newer_than() {
}

_kube_ps1_update_cache() {
[[ "${KUBE_PS1_ENABLED}" == "off" ]] && return

local return_code=$?

[[ "${KUBE_PS1_ENABLED}" == "off" ]] && return $return_code

if ! _kube_ps1_binary_check "${KUBE_PS1_BINARY}"; then
# No ability to fetch context/namespace; display N/A.
KUBE_PS1_CONTEXT="BINARY-N/A"

0 comments on commit cacd8b8

Please sign in to comment.
You can’t perform that action at this time.