X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/980ae328dbbebb3421051ac3cc07797a8fd6dfe1..be7cfe15d3ac67d3c3775ace3d63710d4c510f58:/mr?ds=sidebyside 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; }