diff --git a/meson.build b/meson.build
index d2192988e0238b5bca8216727fb82a748ccd5efd..4b969c3631a55656d4a50ee7f7eb86e9070d3f30 100644
--- a/meson.build
+++ b/meson.build
@@ -185,9 +185,9 @@ if has_v4l2_header and ('auto' in drivers or 'v4l2' in drivers)
 endif
 
 if survive.found() and ('survive' in drivers)
-  if 'survive' not in drivers
-    drivers += ['survive']
-    endif
+	if 'survive' not in drivers
+		drivers += ['survive']
+	endif
 endif
 
 if drivers.length() == 0 or drivers == ['auto']