mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-06 15:07:15 -05:00
Use Term instead of exit when q is hit so that we clean up the pid file
This commit is contained in:
@@ -975,7 +975,7 @@ sub confirm {
|
||||
my $char = <>;
|
||||
chomp($char);
|
||||
if ( $char eq 'q' ) {
|
||||
exit(0);
|
||||
Term();
|
||||
}
|
||||
if ( !$char ) {
|
||||
$char = 'y';
|
||||
|
||||
Reference in New Issue
Block a user