Exit after error message when run on Windows 7
This commit is contained in:
parent
fcd239ac65
commit
0b03326ca2
@ -22,6 +22,7 @@ int main(int argc, const char *argv[]) {
|
|||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
if (!IsWindows10OrGreater()) {
|
if (!IsWindows10OrGreater()) {
|
||||||
std::cerr << "CryFS is currently only supported on Windows 10 (or later)." << std::endl;
|
std::cerr << "CryFS is currently only supported on Windows 10 (or later)." << std::endl;
|
||||||
|
exit(1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user