added an error message when strongswan.conf cannot be read

This commit is contained in:
Tobias Brunner
2008-05-19 13:20:33 +00:00
parent 6f2ba57a4e
commit 081a14cd33
+1
View File
@@ -379,6 +379,7 @@ settings_t *settings_create(char *file)
fd = fopen(file, "r");
if (fd == NULL)
{
DBG1("'%s' does not exist or is not readable", file);
return &this->public;
}
fseek(fd, 0, SEEK_END);