};
const char *subsys = NULL;
+ if (!trie.f)
+ return EXIT_SUCCESS;
+
for (;;) {
int option;
struct stat st;
const char sig[] = HWDB_SIG;
+ if (trie.f)
+ return 0;
+
trie.f = fopen(SYSCONFDIR "/udev/hwdb.bin", "re");
if (!trie.f)
return -errno;
{
struct stat st;
+ if (!trie.f)
+ return false;
if (fstat(fileno(trie.f), &st) < 0)
return true;
if (trie.file_time_usec != ts_usec(&st.st_mtim))
.exit = builtin_hwdb_exit,
.validate = builtin_hwdb_validate,
.help = "hardware database",
- .run_once = true,
};