modify some wording

This commit is contained in:
edisonxiang 2017-11-17 22:20:24 +08:00
parent 4aac6a80a3
commit b7f2f6e299

View File

@ -225,9 +225,9 @@ func probeAttachedVolume() error {
executor := exec.New() executor := exec.New()
// udevadm settle waits for udevd to process the device creation // udevadm settle waits for udevd to process the device creation
// events for all hardware devices, thus ensuring that any device // events for all hardware devices, thus ensuring that any device
// nodes have been created successfully before proceeding. // nodes have been created successfully before proceeding.
argsSettle := []string{"settle", "--timeout=1"} argsSettle := []string{"settle", "--timeout=1"}
cmdSettle := executor.Command("udevadm", argsSettle...) cmdSettle := executor.Command("udevadm", argsSettle...)
_, errSettle := cmdSettle.CombinedOutput() _, errSettle := cmdSettle.CombinedOutput()