aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/bashrc.d/pass.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/pass.bash b/bash/bashrc.d/pass.bash
index 14a248e2..2768d879 100644
--- a/bash/bashrc.d/pass.bash
+++ b/bash/bashrc.d/pass.bash
@@ -1,5 +1,5 @@
# Requires Bash >= 4.0 for dotglob and globstar
-if ((${BASH_VERSINFO[0]} < 4)) ; then
+if ((10#${BASH_VERSINFO[0]%%[![:digit:]]*} < 4)) ; then
return
fi