summaryrefslogtreecommitdiff
path: root/package/system/procd/files/nand.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/system/procd/files/nand.sh')
-rw-r--r--package/system/procd/files/nand.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/system/procd/files/nand.sh b/package/system/procd/files/nand.sh
index fd2f943..f933629 100644
--- a/package/system/procd/files/nand.sh
+++ b/package/system/procd/files/nand.sh
@@ -274,8 +274,8 @@ nand_do_upgrade_stage2() {
[ ! "$(find_mtd_index "$CI_UBIPART")" ] && CI_UBIPART="rootfs"
- [ "$file_type" == "ubi" ] && nand_upgrade_ubinized $1
- [ "$file_type" == "ubifs" ] && nand_upgrade_ubifs $1
+ [ "$file_type" = "ubi" ] && nand_upgrade_ubinized $1
+ [ "$file_type" = "ubifs" ] && nand_upgrade_ubifs $1
nand_upgrade_tar $1
}