log a message when Cleanup() is called

networking
brl 10 years ago
parent eb4a01e570
commit 3e42e0d31f

@ -15,6 +15,7 @@ func (fs *Filesystem) Cleanup() error {
fs.log.Warning(msg) fs.log.Warning(msg)
return errors.New(msg) return errors.New(msg)
} }
fs.log.Info("Cleanup() called on filesystem at root %s", fs.root)
for { for {
mnts,err := getMountsBelow(fs.base) mnts,err := getMountsBelow(fs.base)

Loading…
Cancel
Save