chiark / gitweb /
condition: drop pointless double negation
[elogind.git] / src / readahead-replay.c
index 9447fe0775bda3ee034ae4252b0750884c19c275..cd89654f983d105e7731b9d2dd7ae4ec7a9ad7ba 100644 (file)
@@ -346,8 +346,8 @@ int main(int argc, char*argv[]) {
                 return 0;
         }
 
-        if (running_in_vm()) {
-                log_info("Disabling readahead replay due to execution in virtual machine.");
+        if (detect_virtualization(NULL) > 0) {
+                log_info("Disabling readahead replay due to execution in virtualized environment.");
                 return 0;
         }