The RC is non matching awk: + mysql_monitor ++ ps -C mysqld -o pid= -o args= ++ awk -v v=/var/lib/mysql '/datadir=/ { if ($1 ~ !/wsrep-recover/) print $1}' + pid= + '[' '' ']'
I'd better off using more pipes
The RC is non matching awk:
+ mysql_monitor
++ ps -C mysqld -o pid= -o args=
++ awk -v v=/var/lib/mysql '/datadir=/ { if ($1 ~ !/wsrep-recover/) print $1}'
+ pid=
+ '[' '' ']'
I'd better off using more pipes