aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc b/bash/bashrc
index f2d32558..fae8d641 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -78,8 +78,8 @@ if ((10#${BASH_VERSINFO[0]%%[![:digit:]]*} >= 4)) ; then
# Warn me about stopped jobs when exiting; only if >=4.1 due to bug
# <https://lists.gnu.org/archive/html/bug-bash/2009-02/msg00176.html>
if ((10#${BASH_VERSINFO[0]%%[![:digit:]]*} > 4)) || \
- ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} > 0)) ; then
- shopt -s checkjobs
+ ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} >= 1)) ; then
+ shopt -s checkjobs
fi
fi