SAR: don't follow symbolic links for system slot
Change-Id: I8ea5606007d72d8b2127a14709b2e33976ad963b
diff --git a/partition.cpp b/partition.cpp
index b31b228..f108087 100755
--- a/partition.cpp
+++ b/partition.cpp
@@ -359,7 +359,8 @@
return false;
} else {
Primary_Block_Device = ptr;
- Find_Real_Block_Device(Primary_Block_Device, Display_Error);
+ if (PartitionManager.Get_Android_Root_Path() != "/system_root")
+ Find_Real_Block_Device(Primary_Block_Device, Display_Error);
}
item_index++;
} else if (item_index > 2) {