From 70cdcb01c6cb10a50b1ab71cc6f6cd4c35b51102 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Sat, 7 Nov 2020 14:36:36 +0100 Subject: [PATCH] btrbk: cosmetics: fix spelling --- btrbk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/btrbk b/btrbk index 152eff0..da404cd 100755 --- a/btrbk +++ b/btrbk @@ -331,7 +331,7 @@ $SIG{__DIE__} = sub { }; $SIG{INT} = sub { - print STDERR "\nERROR: Cought SIGINT, dumping transaction log:\n"; + print STDERR "\nERROR: Caught SIGINT, dumping transaction log:\n"; action("signal", status => "SIGINT"); print_formatted("transaction", \@transaction_log, output_format => "tlog", outfile => *STDERR); exit 1; @@ -628,7 +628,7 @@ sub stream_buffer_cmd_text($) # NOTE: mbuffer takes defaults from /etc/mbuffer.rc my @cmd = ( "mbuffer" ); - push @cmd, ( "-v", "1" ); # disable warnings (they arrive asynchronously and cant be cought) + push @cmd, ( "-v", "1" ); # disable warnings (they arrive asynchronously and cant be caught) push @cmd, "-q" unless($progress); push @cmd, ( "-s", $blocksize ) if($blocksize); push @cmd, ( "-m", lc($bufsize) ) if($bufsize); @@ -5665,7 +5665,7 @@ MAIN: my @data; # print results on ctrl-c $SIG{INT} = sub { - print STDERR "\nERROR: Cought SIGINT, dumping incomplete list:\n"; + print STDERR "\nERROR: Caught SIGINT, dumping incomplete list:\n"; print_formatted("extent_diff", \@data); exit 1; };