X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=compile%2Fvmware-detect.c;h=c99e36ff05e67911839177a562088a1b47ad8d3f;hb=3ace1004ef0f658043f2645c46818d92ad66c0dc;hp=0269b902603cc02b1f705b146922dd58480b4cb6;hpb=054ffea63058fb0e57a71d3540b94a7833c4cd9e;p=grml-scripts.git diff --git a/compile/vmware-detect.c b/compile/vmware-detect.c index 0269b90..c99e36f 100644 --- a/compile/vmware-detect.c +++ b/compile/vmware-detect.c @@ -1,3 +1,11 @@ +/* Filename: vmware-detect.c +* Purpose: Detect if running inside vmware +* Authors: grml-team (grml.org), (c) Michael Gebetsroither +* Bug-Reports: see http://grml.org/bugs/ +* License: This file is licensed under the GPL v2. +*******************************************************************************/ +// return 0 if running inside vmware, 1 otherwise + #include "string.h" #include "unistd.h" #include "stdio.h" @@ -121,7 +129,7 @@ int main(int argc, char* argv[]) { return EXIT_SUCCESS; } else { if(!Killed) { - // check unuseable or not implemented + // check unusable or not implemented DWRITE("false\n"); DWRITE("Check not implemented, yet!\n"); return a ? EXIT_SUCCESS : EXIT_FAILURE;