[bug 1035319] Removed set -u. Kept -e.