Resurrecting this not-too-old thread. You might find this one useful if
you run CARP firewalls which gives you a dynamic prompt telling you the
master/backup/other status.
function fwStatus {
IFCONFIG=`ifconfig -a | grep carp:`
NUMCARPS=`echo "$IFCONFIG" | wc -l`
BACKUPCAR
On Fri, Aug 28, 2015 at 1:20 AM, Alexander Hall wrote:
>
> I'm pretty sure this messes up $? at the prompt. Try:
>
> false
> echo $?
>
> You could circumvent this by saving $? at the beginning of the function
> and returning it at the end.
>
>
Happy to report that this is not the case. T
2 matches
Mail list logo