Merge pull request #10048 from vbatts/vbatts-dm_no_newline
devmapper: remove newline string Upstream-commit: 1c57555285b3dae6fd8d3734c80daf6547b24c66 Component: engine
This commit is contained in:
@ -1424,7 +1424,7 @@ func (devices *DeviceSet) UnmountDevice(hash string) error {
|
||||
defer devices.Unlock()
|
||||
|
||||
if info.mountCount == 0 {
|
||||
return fmt.Errorf("UnmountDevice: device not-mounted id %s\n", hash)
|
||||
return fmt.Errorf("UnmountDevice: device not-mounted id %s", hash)
|
||||
}
|
||||
|
||||
info.mountCount--
|
||||
|
||||
Reference in New Issue
Block a user