fix: typo comfirm -> confirm in command-not-found.pl
This commit is contained in:
@@ -49,10 +49,10 @@ if ($len == 0) {
|
||||
if ($ENV{"NIX_AUTO_RUN_INTERACTIVE"} // "") {
|
||||
while (1) {
|
||||
print STDERR "'$program' from package '$package' will be run, confirm? [yn]: ";
|
||||
chomp(my $comfirm = <STDIN>);
|
||||
if (lc $comfirm eq "n") {
|
||||
chomp(my $confirm = <STDIN>);
|
||||
if (lc $confirm eq "n") {
|
||||
exit 0;
|
||||
} elsif (lc $comfirm eq "y") {
|
||||
} elsif (lc $confirm eq "y") {
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user