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

Martin Schwenke martin at meltin.net
Fri Apr 22 02:03:54 UTC 2016


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...

peace & happiness,
martin



More information about the samba-technical mailing list