Changeset 15588 in niluje


Ignore:
Timestamp:
Dec 11, 2018, 1:51:19 AM (11 months ago)
Author:
NiLuJe
Message:

MRPI:

  • Restore the logging lost in the FBInk move in r15360
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/KUAL/MRInstaller/extensions/MRInstaller/bin/mrinstaller.sh

    r15587 r15588  
    185185        # We need at least two args
    186186        if [ $# -lt 2 ] ; then
    187                 echo "not enough arguments passed to do_fbink_print ($# while we need at least 2)"
    188                 return
     187                logmsg "W" "do_fbink_print" "" "not enough arguments passed to do_fbink_print ($# while we need at least 2)"
     188                return 1
    189189        fi
    190190
     
    213213        # We need at least two args
    214214        if [ $# -lt 2 ] ; then
    215                 echo "not enough arguments passed to do_eips_print ($# while we need at least 2)"
    216                 return
     215                logmsg "W" "do_eips_print" "" "not enough arguments passed to do_eips_print ($# while we need at least 2)"
     216                return 1
    217217        fi
    218218
     
    245245        # We need at least two args
    246246        if [ $# -lt 2 ] ; then
    247                 echo "not enough arguments passed to eips_print_bottom_centered ($# while we need at least 2)"
    248                 return
     247                logmsg "W" "eips_print_bottom_centered" "" "not enough arguments passed to eips_print_bottom_centered ($# while we need at least 2)"
     248                return 1
    249249        fi
    250250
    251251        kh_eips_string="${1}"
    252252        kh_eips_y_shift_up="${2}"
     253
     254        # Log it, too
     255        logmsg "I" "eips_print_bottom_centered" "" "${kh_eips_string}"
    253256
    254257        # Sleep a tiny bit to workaround the logic in the 'new' (K4+) eInk controllers that tries to bundle updates
Note: See TracChangeset for help on using the changeset viewer.