summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/godmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/godmode.c b/src/godmode.c
index daf38ec..107d023 100644
--- a/src/godmode.c
+++ b/src/godmode.c
@@ -675,7 +675,7 @@ static list_part_t *search_part(disk_t *disk_car, const list_part_t *list_part_o
int res=0;
partition->part_size=(uint64_t)0;
partition->part_offset=search_location;
- if(res<=0 && test_nbr==0)
+ if(test_nbr==0)
{
if(search_now_raid>0 || fast_mode>1)
{ /* Search Linux software RAID */