X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/93d98915c787ccdf363e1bb6eceb0786f441c43f..10186060dce29c932cc3c2a2d8b7520f10b7a695:/mr diff --git a/mr b/mr index 262fab5..bcab403 100755 --- a/mr +++ b/mr @@ -1284,15 +1284,14 @@ sub loadconfig { }; my $trusterror = sub { my $msg=shift; - my ($err, $file, $lineno, $url)=@_; if (defined $bootstrap_url) { - die "mr: $err in untrusted $bootstrap_url line $lineno\n". + die "mr: $msg in untrusted $bootstrap_url line $lineno\n". "(To trust this url, --trust-all can be used; but please use caution;\n". "this can allow arbitrary code execution!)\n"; } else { - die "mr: $err in untrusted $file line $lineno\n". + die "mr: $msg in untrusted $f line $lineno\n". "(To trust this file, list it in ~/.mrtrust.)\n"; } };