mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 07:57:39 +00:00
Return exit value of action.sh
This commit is contained in:
parent
60894e458f
commit
310be7ab47
@ -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
|
||||
}
|
||||
|
||||
##########################
|
||||
|
Loading…
x
Reference in New Issue
Block a user