From 12584ca34ec7fb13739d7d4a98269ddf5571fd77 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 19 Oct 2013 22:34:08 +1300 Subject: Make failed loading due to old Bash explicit --- bash/bashrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bash/bashrc') diff --git a/bash/bashrc b/bash/bashrc index 3a49fcf6..208f8b70 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -1,5 +1,8 @@ # Give up completely if no BASH_VERSINFO (<2.0) if [ -z "$BASH_VERSINFO" ]; then + printf \ + '%s: %s is too old to work with this configuration.\n' \ + "${BASH##*/}" "$BASH_VERSION" >&2 return fi -- cgit v1.2.3