Compare commits

..

No commits in common. "b0c7af789a2a82d1cf285fba5282df0fe2951760" and "dc1dc5c8763d016e5719b7346d5abddcd5489b47" have entirely different histories.

4 changed files with 0 additions and 10 deletions

View File

@ -287,13 +287,11 @@ static struct hostlist_file *RegisterHostlist_(struct hostlist_files_head *hostl
} }
struct hostlist_file *RegisterHostlist(struct desync_profile *dp, bool bExclude, const char *filename) struct hostlist_file *RegisterHostlist(struct desync_profile *dp, bool bExclude, const char *filename)
{ {
/*
if (filename && !file_mod_time(filename)) if (filename && !file_mod_time(filename))
{ {
DLOG_ERR("cannot access hostlist file '%s'\n",filename); DLOG_ERR("cannot access hostlist file '%s'\n",filename);
return NULL; return NULL;
} }
*/
return RegisterHostlist_( return RegisterHostlist_(
&params.hostlists, &params.hostlists,
bExclude ? &dp->hl_collection_exclude : &dp->hl_collection, bExclude ? &dp->hl_collection_exclude : &dp->hl_collection,

View File

@ -2887,9 +2887,6 @@ int main(int argc, char **argv)
#endif #endif
} }
if (!test_list_files())
exit_clean(1);
if (!LoadAllHostLists()) if (!LoadAllHostLists())
{ {
DLOG_ERR("hostlists load failed\n"); DLOG_ERR("hostlists load failed\n");

View File

@ -287,13 +287,11 @@ static struct hostlist_file *RegisterHostlist_(struct hostlist_files_head *hostl
} }
struct hostlist_file *RegisterHostlist(struct desync_profile *dp, bool bExclude, const char *filename) struct hostlist_file *RegisterHostlist(struct desync_profile *dp, bool bExclude, const char *filename)
{ {
/*
if (filename && !file_mod_time(filename)) if (filename && !file_mod_time(filename))
{ {
DLOG_ERR("cannot access hostlist file '%s'\n",filename); DLOG_ERR("cannot access hostlist file '%s'\n",filename);
return NULL; return NULL;
} }
*/
return RegisterHostlist_( return RegisterHostlist_(
&params.hostlists, &params.hostlists,
bExclude ? &dp->hl_collection_exclude : &dp->hl_collection, bExclude ? &dp->hl_collection_exclude : &dp->hl_collection,

View File

@ -1638,9 +1638,6 @@ void parse_params(int argc, char *argv[])
} }
#endif #endif
if (!test_list_files())
exit_clean(1);
if (!LoadAllHostLists()) if (!LoadAllHostLists())
{ {
DLOG_ERR("hostlists load failed\n"); DLOG_ERR("hostlists load failed\n");