mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-10-04 07:48:47 +00:00
Fix swupd_lock file descriptor leaking
The swupd_lock is not properly closed when the work is done with bundle-list subcommand.
This commit is contained in:
@@ -176,6 +176,7 @@ int bundle_list_main(int argc, char **argv)
|
||||
printf("Current OS version: %d\n", current_version);
|
||||
|
||||
list_free_list(list_bundles);
|
||||
v_lockfile(lock_fd);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user