flexbackup does a test to find out if /bin/sh is really another shell masquerading as bourne shell. The logic for checking bash assumes that if it is not 2.x, it must be 1. With bash 3.x in place, flexbackup breaks by assuming it is bash 1. Reproducible: Always Steps to Reproduce: 1. hvae /bin/ash be a link to bash 2. run flexbackup Actual Results: It errored out. See http://members.cox.net/mkeisler/flexbackup_error.txt Expected Results: done s successful backup. I have bash3 installed. This patch will fix it. 5399c5399 < if ($ver =~ m/^2/) { --- > if ($ver =~ m/^2|^3/) {
Created attachment 61367 [details, diff] patch for this bug fixes bash3 being identified as bash1
Created attachment 61369 [details, diff] Fixes detection of bash3 as bash1 This is a better patch since it will work with any future bash release number. Dont' know why it wans't this way in the first place. Maybe some bash versions pre 2.x do not have a $BASH_VERSION variable?
Mass reassign wrt Bug 23718, maintainer being retired.
Does this fail for all versions of flexbackup?
I think this fix may have been slipped into 1.2.1-r1 because it has the code from my patch in it. I don't see a note in the changelog about it, though. May as well close this bug then.