mirror of
https://github.com/systemd/systemd.git
synced 2026-08-12 22:17:19 +00:00
hwdb: don't error on empty hwdb file
This commit is contained in:
@@ -350,7 +350,7 @@ def print_summary(fname, groups):
|
||||
print(f'{fname}: {len(groups)} match groups, {n_matches} matches, {n_props} properties')
|
||||
|
||||
if n_matches == 0 or n_props == 0:
|
||||
error(f'{fname}: no matches or props')
|
||||
print(f'{fname}: no matches or props')
|
||||
|
||||
if __name__ == '__main__':
|
||||
args = sys.argv[1:] or sorted([
|
||||
|
||||
Reference in New Issue
Block a user