From 178eacc06bbde2f26ca8f1b140ff03fbadc60fda Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 12 Apr 2024 14:07:20 -0400 Subject: [PATCH] Use Term instead of exit when q is hit so that we clean up the pid file --- scripts/zmaudit.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zmaudit.pl.in b/scripts/zmaudit.pl.in index f0ad762e5..1995c16ff 100644 --- a/scripts/zmaudit.pl.in +++ b/scripts/zmaudit.pl.in @@ -975,7 +975,7 @@ sub confirm { my $char = <>; chomp($char); if ( $char eq 'q' ) { - exit(0); + Term(); } if ( !$char ) { $char = 'y';