Don't warn when .stowrc is used

We fully support and expect some users using .stowrc, so there is
no reason to issue a warning when they do.
This commit is contained in:
Adam Spiers 2019-06-25 19:05:38 +01:00
parent 0f3e1b33fc
commit bb8b79e031

View file

@ -604,7 +604,6 @@ sub get_config_file_options {
my @defaults = (); my @defaults = ();
for my $file ("$ENV{HOME}/.stowrc", '.stowrc') { for my $file ("$ENV{HOME}/.stowrc", '.stowrc') {
if (-r $file) { if (-r $file) {
warn "Loading defaults from $file\n";
open my $FILE, '<', $file open my $FILE, '<', $file
or die "Could not open $file for reading\n"; or die "Could not open $file for reading\n";
while (my $line = <$FILE>){ while (my $line = <$FILE>){