Match whitespace after $vhid when checking CARP status to avoid partial matches. Fixes #7638 While here, fix variable references with braces and combine the two calls to grep into a single pattern.
(cherry picked from commit fd4e14b8853e7a30ee23532d686270cb40d84d03) (cherry picked from commit 8cb09b295385faf4a3cd0af6e261cdf6f45b3d36)
Related issues
Bug #7638: Carp Status incorrect - visual bug in webconfigurator interface
Match whitespace after $vhid when checking CARP status to avoid partial matches. Fixes #7638
While here, fix variable references with braces and combine the two calls to grep into a single pattern.
(cherry picked from commit fd4e14b8853e7a30ee23532d686270cb40d84d03)
(cherry picked from commit 8cb09b295385faf4a3cd0af6e261cdf6f45b3d36)