Show a message when update checking is disabled

This commit is contained in:
Sebastian Messmer 2016-02-22 15:52:41 +01:00
parent 5f67378bc9
commit f92c4a4f71

View File

@ -93,6 +93,8 @@ namespace cryfs {
#endif #endif
if (!Environment::noUpdateCheck()) { if (!Environment::noUpdateCheck()) {
_checkForUpdates(); _checkForUpdates();
} else {
cout << "Automatic checking for security vulnerabilities and updates is disabled." << endl;
} }
cout << endl; cout << endl;
} }