X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/980ae328dbbebb3421051ac3cc07797a8fd6dfe1..de3c4524d954e1ebc3081675790f4624496523da:/mr?ds=inline diff --git a/mr b/mr index a7295f0..be7e4e5 100755 --- a/mr +++ b/mr @@ -1154,7 +1154,8 @@ sub is_trusted_config { while () { chomp; s/^~\//$ENV{HOME}\//; - $trusted{abs_path($_)}=1; + my $d=abs_path($_); + $trusted{$d}=1 if defined $d; } close TRUST; }