Skip to content
Permalink
Browse files

fixes #98

  • Loading branch information...
luisdavim committed Jul 17, 2019
1 parent 623fe07 commit 8f1bf36e51a3f1a70ce64c44af9d4c3810c4d108
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 8f1bf36

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