chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
condition: drop pointless double negation
[elogind.git]
/
src
/
readahead-replay.c
diff --git
a/src/readahead-replay.c
b/src/readahead-replay.c
index 9447fe0775bda3ee034ae4252b0750884c19c275..cd89654f983d105e7731b9d2dd7ae4ec7a9ad7ba 100644
(file)
--- a/
src/readahead-replay.c
+++ b/
src/readahead-replay.c
@@
-346,8
+346,8
@@
int main(int argc, char*argv[]) {
return 0;
}
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 virtual
ized environment
.");
return 0;
}
return 0;
}