Changeset 3b0aba7


Ignore:
Timestamp:
09/29/13 11:40:25 (11 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
48f81fc
Parents:
1793fe1
Message:

Fix some possible warning messages during download parsing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/libsh/functions.sh

    r26599e2 r3b0aba7  
    243243   done 
    244244 
    245    _err="`cat ${_eFile}`" 
     245   _err="`cat ${_eFile} 2>/dev/null`" 
     246   if [ -z "$_err" ] ; then _err="0"; fi 
    246247   rm ${_eFile} 2>/dev/null 
    247248   if [ "$_err" = "0" ]; then echo "FETCHDONE" ; fi 
     
    304305                done 
    305306 
    306                 _err="`cat ${_eFile}`" 
     307                _err="`cat ${_eFile} 2>/dev/null`" 
     308                if [ -z "$_err" ] ; then _err="0"; fi 
    307309                rm ${_eFile} 2>/dev/null 
    308310                if [ "$_err" = "0" ]; then echo "FETCHDONE" ; fi 
Note: See TracChangeset for help on using the changeset viewer.