View Single Post
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#215
that might work if you know what the return codes mean. easier might be clear text message like following:
wget .... && echo "success" || echo "fail"
the last echo will only fire up if one of the previous commands fails and an echo never fails