# HG changeset patch # User Edho Arief # Date 1329632812 0 # Node ID 3e8dfad7cacc66d6d84f6f8a3b13a329f07f8782 # Parent 21b86001b0c552ca7799655c6ecb53f1b1c43481# Parent e4208bf9c58504cc254aefe5878c1ce43517e133 Merge diff -r e4208bf9c585 -r 3e8dfad7cacc bin/moefetch --- a/bin/moefetch Thu Feb 16 17:48:04 2012 +0700 +++ b/bin/moefetch Sun Feb 19 06:26:52 2012 +0000 @@ -34,6 +34,10 @@ # not user modifiable from here +# stop on any error +set -e +# ensures all variables initialized +set -u useragent="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0" # useless welcome message. Also version