Force use shadow, even if missing.

This commit is contained in:
Dimitri John Ledkov
2015-02-27 14:18:56 +00:00
parent ee43f47f45
commit 46a72bc342
4 changed files with 10 additions and 0 deletions

View File

@@ -249,6 +249,8 @@ int sgr_setdbname (const char *filename)
bool sgr_file_present (void)
{
if (getdef_bool ("FORCE_SHADOW"))
return true;
return commonio_present (&gshadow_db);
}