mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-07 06:06:14 +00:00
When running a diagnose/repair, swupd creates a list of the files to be verified, this list contains normally all the files from the manifests from bundles installed in the system. When the --file flag is used, this list contains only the file specified in the flag or the directory and files included in that directory if a directory is specified. If nothing trakced was found using the given path, then swupd was considering nothing else needed to be done and was exiting. This commit changes this behavior so if there are no tracked files, we still look for extra, untracked files before exiting. Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>