[PATCH] ctdb-scripts: Avoid dividing by zero in memory calculation

Martin Schwenke martin at meltin.net
Fri Apr 22 12:38:57 UTC 2016


On Fri, 22 Apr 2016 12:03:54 +1000, Martin Schwenke <martin at meltin.net>
wrote:

> On Thu, 21 Apr 2016 13:35:11 -0500, José A. Rivera <jarrpa at samba.org>
> wrote:
> 
> > This is just a small patch to avoid a divide-by-zero error in awk while
> > monitoring CTDB. Found this due to a few small VMs I run with no swap. 
> > :)  
> 
> Who runs without swap?  ;-)
> 
> Reviewed-by: Martin Schwenke <martin at meltin.net>
> 
> Will hold off pushing to see if there's anything else I'll review/push
> today...

... and pushed.

peace & happiness,
martin



More information about the samba-technical mailing list