use a big Y to indicate that hitting enter will result in Y. Also list q as an option to quit

This commit is contained in:
Isaac Connor 2018-01-26 16:05:43 -05:00
parent 2f39e44f91
commit e824f0abfe
1 changed files with 2 additions and 1 deletions

View File

@ -375,6 +375,7 @@ MAIN: while( $loop ) {
} # end foreach fs event
} else {
aud_print( "Filesystem monitor '$monitor_id' in $$Storage{Path} does not exist in database" );
if ( confirm() ) {
my $command = "rm -rf $monitor_id";
executeShellCommand( $command );
@ -717,7 +718,7 @@ sub confirm {
if ( $report ) {
print( "\n" );
} elsif ( $interactive ) {
print( ", $prompt y/n: " );
print( ", $prompt Y/n/q: " );
my $char = <>;
chomp( $char );
if ( $char eq 'q' ) {