Use Term instead of exit when q is hit so that we clean up the pid file

This commit is contained in:
Isaac Connor
2024-04-12 14:07:20 -04:00
parent 34118fcca2
commit 178eacc06b

View File

@@ -975,7 +975,7 @@ sub confirm {
my $char = <>;
chomp($char);
if ( $char eq 'q' ) {
exit(0);
Term();
}
if ( !$char ) {
$char = 'y';