# HG changeset patch # User Matti Hamalainen # Date 1483650954 -7200 # Node ID dbf1d58915f834479d569cee62a15dbdea900b70 # Parent 33b5e7adc30c46e38fbf2b279d2c3dcb80bd5dde fetch_weather: Improve a debug message. diff -r 33b5e7adc30c -r dbf1d58915f8 fetch_weather.pl --- a/fetch_weather.pl Thu Jan 05 23:15:31 2017 +0200 +++ b/fetch_weather.pl Thu Jan 05 23:15:54 2017 +0200 @@ -558,7 +558,7 @@ ### if (opt_chk_valid("outfile", 1)) { - print STDERR "Dumping data to ".opt_get("outfile")."\n" if (opt_get_int("debug") > 0); + print STDERR "Dumping data to output file '".opt_get("outfile")."'\n" if (opt_get_int("debug") > 0); close(STDOUT); open(STDOUT, '>', opt_get("outfile")) or die("Could not open output file '".opt_get("outfile")."': $!\n"); }