X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/980ae328dbbebb3421051ac3cc07797a8fd6dfe1..a4bfe55f8b70c7ca67f63e15932fda080872207b:/mr diff --git a/mr b/mr index a7295f0..afac24d 100755 --- a/mr +++ b/mr @@ -1007,7 +1007,7 @@ sub record { system((getpwuid($<))[8], "-i"); } push @failed, $dir; - print "\n" unless $quiet; + print "\n"; } elsif ($ret == SKIPPED) { push @skipped, $dir; @@ -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; }