View Single Post
Old 02-03-2015, 11:39 AM   #11
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Okay, it doesn't do any logging, but I think I know why it barfs under MRPI:

Code:
killall ${HACKNAME} 2>/dev/null
That returns a non-zero exit code on fresh installs (i.e., process not found). The official OTA updater doesn't care, but MRPI is stricter, and aborts on unhandled non-zero return codes.

Wrapping it around a test should help, something like:

Code:
if killall -0 ${HACKNAME} 2>/dev/null ; then
    killall ${HACKNAME} 2>/dev/null
fi
Attached Files
File Type: zip lpad.zip (37.2 KB, 234 views)

Last edited by NiLuJe; 02-03-2015 at 11:44 AM.
NiLuJe is offline   Reply With Quote