chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
main: added support for loading IMA custom policies
[elogind.git]
/
src
/
detect-virt.c
diff --git
a/src/detect-virt.c
b/src/detect-virt.c
index 324f182c7e5cae3fd36355b4a93d664892b7c5f3..79cad5d8ab5281f38402bdc4807040a17df66d01 100644
(file)
--- a/
src/detect-virt.c
+++ b/
src/detect-virt.c
@@
-25,9
+25,10
@@
#include <string.h>
#include "util.h"
#include <string.h>
#include "util.h"
+#include "virt.h"
int main(int argc, char *argv[]) {
int main(int argc, char *argv[]) {
-
int
r;
+
Virtualization
r;
const char *id;
/* This is mostly intended to be used for scripts which want
const char *id;
/* This is mostly intended to be used for scripts which want
@@
-43,5
+44,5
@@
int main(int argc, char *argv[]) {
if (r > 0)
puts(id);
if (r > 0)
puts(id);
- return r
== 0
;
+ return r
> 0 ? EXIT_SUCCESS : EXIT_FAILURE
;
}
}