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