Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ndctl, monitor: in daemon mode, exit successfully if no DIMMs are found
When we are running as a daemon, it is preferred to exit successfully when no DIMMs are found. When running in the foreground, retain an error return so that the user can be notified that nothing was found to monitor. In the longer term, replace this with a libudev uevent monitor that will look for DIMM addition/removal events, and update the running monitor(s) if the DIMMs match the active filter spec. Link: https://bugs.launchpad.net/ubuntu/+source/ndctl/+bug/1781268 Reported-by: Andreas Hasenack <[email protected]> Cc: Dan Williams <[email protected]> Cc: QI Fuli <[email protected]> Reviewed-by: Dan Williams <[email protected]> Signed-off-by: Vishal Verma <[email protected]>
- Loading branch information