summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reinstall-recovery/recovery.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/reinstall-recovery/recovery.sh b/reinstall-recovery/recovery.sh
index 656b454..3934a42 100644
--- a/reinstall-recovery/recovery.sh
+++ b/reinstall-recovery/recovery.sh
@@ -112,7 +112,7 @@ installation()
part_no_two=$(ls /dev/mmcblk0*)
part_no_two=$(echo $part_no_two | cut -d' ' -f3) #Check for the second partition on the SD card.
- if [ $part_no_two ='' ]; then
+ if [ "$part_no_two" == '' ]; then
sh /mnt/bar /sd_card/fossee-os.tar.gz | tar xzpf - -C /nand_previous
sync
else