mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 21:27:41 +02:00
Return exit value of action.sh
This commit is contained in:
@ -192,8 +192,10 @@ printvar() {
|
||||
run_action() {
|
||||
local MODID="$1"
|
||||
cd "/data/adb/modules/$MODID"
|
||||
ASH_STANDALONE=1 sh ./action.sh
|
||||
sh ./action.sh
|
||||
local RES=$?
|
||||
cd /
|
||||
return $RES
|
||||
}
|
||||
|
||||
##########################
|
||||
|
Reference in New Issue
Block a user