scripts/metamount: tell ksud about it
This commit is contained in:
parent
ae87f30680
commit
3588ef9e9e
1 changed files with 4 additions and 3 deletions
|
|
@ -34,10 +34,11 @@ $BINARY
|
|||
|
||||
EXIT_CODE=$?
|
||||
|
||||
if [ $EXIT_CODE -ne 0 ]; then
|
||||
if [ "$EXIT_CODE" = 0 ]; then
|
||||
/data/adb/ksud kernel notify-module-mounted
|
||||
log "Mount completed successfully"
|
||||
else
|
||||
log "Mount failed with exit code $EXIT_CODE"
|
||||
exit $EXIT_CODE
|
||||
fi
|
||||
|
||||
log "Mount completed successfully"
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue