mirror of https://github.com/digint/btrbk
btrbk: cosmetics: fix spelling
parent
74a84f715b
commit
70cdcb01c6
6
btrbk
6
btrbk
|
@ -331,7 +331,7 @@ $SIG{__DIE__} = sub {
|
||||||
};
|
};
|
||||||
|
|
||||||
$SIG{INT} = 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");
|
action("signal", status => "SIGINT");
|
||||||
print_formatted("transaction", \@transaction_log, output_format => "tlog", outfile => *STDERR);
|
print_formatted("transaction", \@transaction_log, output_format => "tlog", outfile => *STDERR);
|
||||||
exit 1;
|
exit 1;
|
||||||
|
@ -628,7 +628,7 @@ sub stream_buffer_cmd_text($)
|
||||||
|
|
||||||
# NOTE: mbuffer takes defaults from /etc/mbuffer.rc
|
# NOTE: mbuffer takes defaults from /etc/mbuffer.rc
|
||||||
my @cmd = ( "mbuffer" );
|
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, "-q" unless($progress);
|
||||||
push @cmd, ( "-s", $blocksize ) if($blocksize);
|
push @cmd, ( "-s", $blocksize ) if($blocksize);
|
||||||
push @cmd, ( "-m", lc($bufsize) ) if($bufsize);
|
push @cmd, ( "-m", lc($bufsize) ) if($bufsize);
|
||||||
|
@ -5665,7 +5665,7 @@ MAIN:
|
||||||
my @data;
|
my @data;
|
||||||
# print results on ctrl-c
|
# print results on ctrl-c
|
||||||
$SIG{INT} = sub {
|
$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);
|
print_formatted("extent_diff", \@data);
|
||||||
exit 1;
|
exit 1;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue