correct hdf value for umount error
This commit is contained in:
parent
fe235df686
commit
adbaf2ef0d
|
@ -125,7 +125,7 @@ class volume_mount(cryptobox.plugins.base.CryptoBoxPlugin):
|
||||||
try:
|
try:
|
||||||
self.container.umount()
|
self.container.umount()
|
||||||
except CBUmountError, err_msg:
|
except CBUmountError, err_msg:
|
||||||
self.hdf["Data.Warning"] = "UmountFailed"
|
self.hdf["Data.Warning"] = "Plugins.volume_mount.UmountFailed"
|
||||||
self.cbox.log.warn("could not umount the volume (%s): %s" \
|
self.cbox.log.warn("could not umount the volume (%s): %s" \
|
||||||
% (self.device, err_msg))
|
% (self.device, err_msg))
|
||||||
return "volume_status"
|
return "volume_status"
|
||||||
|
|
Loading…
Reference in a new issue