2
0
mirror of https://github.com/topjohnwu/Magisk synced 2025-08-31 07:35:09 +00:00

Remove unnecessary '--' from magiskboot actions

This commit is contained in:
topjohnwu
2019-03-07 18:07:23 -05:00
parent 8f4a6415cd
commit 7f08c06943
4 changed files with 41 additions and 34 deletions

View File

@@ -247,7 +247,7 @@ flash_image() {
# Make sure all blocks are writable
$MAGISKBIN/magisk --unlock-blocks 2>/dev/null
case "$1" in
*.gz) CMD1="$MAGISKBIN/magiskboot --decompress '$1' - 2>/dev/null";;
*.gz) CMD1="$MAGISKBIN/magiskboot decompress '$1' - 2>/dev/null";;
*) CMD1="cat '$1'";;
esac
if $BOOTSIGNED; then