diff --git a/check_postgres.pl b/check_postgres.pl index 9c8a3d2f..3ae717c4 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -749,8 +749,9 @@ sub ndie { eval { File::Temp::cleanup(); }; my $msg = shift; chomp $msg; - print "ERROR: $msg\n"; - exit 3; + add_critical("ERROR: $msg"); + finishup(); + exit 2; } sub msg { ## no critic pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy