[Bug 1765690] Re: wget-log file created despite -q when run in background with &
Jani Uusitalo
jani at mummila.net
Fri Apr 20 12:03:59 UTC 2018
Red Hat issue: https://bugzilla.redhat.com/show_bug.cgi?id=1484411
"Running wget with -O and -q in the background yields a file wget-log"
Related but (FWICT) not precisely the same issues upstream:
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888691 "wget -b produces empty wget-log file"
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874590 "wget: creates log file when run in the background", forwarded to https://savannah.gnu.org/bugs/?51181 "Unexpected "Redirecting output to 'wget-log'.""
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to wget in Ubuntu.
https://bugs.launchpad.net/bugs/1765690
Title:
wget-log file created despite -q when run in background with &
Status in wget package in Ubuntu:
New
Bug description:
== Steps to reproduce ==
`wget -q https://www.google.com/ &`
== What happens ==
wget says it's "Redirecting output to 'wget-log'" and creates an empty wget-log file in the current directory.
== What I expect to happen ==
No wget-log file to be created.
== Details ==
Wget has a -b (--background) option, for which the man page says: "If no output file is specified via the -o, output is redirected to wget-log." There's also the -q (--quiet) option, for which the man page says: "Turn off Wget's output."
When both are given, wget goes to background, and no wget-log gets
created, as expected.
When only -b is given, wget goes to background, and creates wget-log,
also as expected.
When only -q is given, wget runs in the foreground, and no wget-log is
created, still as expected.
When only -q is given, but & is added to the end of the command line,
wget goes to background, but also creates wget-log, which I find
unexpected (and inconsistent).
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: wget 1.19.4-1ubuntu2
ProcVersionSignature: Ubuntu 4.15.0-15.16-generic 4.15.15
Uname: Linux 4.15.0-15-generic x86_64
ApportVersion: 2.20.9-0ubuntu5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 20 14:56:17 2018
InstallationDate: Installed on 2016-10-13 (553 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=fi_FI.UTF-8
SHELL=/bin/bash
SourcePackage: wget
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wget/+bug/1765690/+subscriptions
More information about the foundations-bugs
mailing list