[prev in list] [next in list] [prev in thread] [next in thread]
List: wget
Subject: Wrong return code ?
From: Marc Schoechlin <ms () 256bit ! org>
Date: 2006-02-07 7:35:59
Message-ID: 20060207073559.GA26210 () 256bit ! org
[Download RAW message or body]
Hi,
thanks for maintaining this great utility - i use it in many
situations.
Currently i have problems in evaluating the returncode of wget:
---
# Fetching fails, and should return somthing other than "0"
wget -p -r -l inf -k -x -l inf --timeout=30 http://www.heise.de/sdfsdf; echo $?
0
# Fetching works, and should return "0"
wget -p -r -l inf -k -x -l inf --timeout=30 http://www.heise.de; echo $?
0
---
Removing the "-p" option renders wget to have the right behaviour.
Is that a bug or a feature ?
Best regards
Marc Schoechlin
--
I prefer non-proprietary document-exchange.
http://sector7g.wurzel6.de/pdfcreator/
http://www.prooo-box.org/
Contact me via jabber: ms@256bit.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic