changeset 396:dbf1d58915f8

fetch_weather: Improve a debug message.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 05 Jan 2017 23:15:54 +0200
parents 33b5e7adc30c
children 799320c3386e
files fetch_weather.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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");
 }