Redirect also stdout to log.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-05-25 09:49:21 +02:00
parent ac3dfc956a
commit 9eeed14937

View File

@@ -154,6 +154,7 @@ func (d ofsDriver) Mount(r *volume.MountRequest) (*volume.MountResponse, error)
}
cmd := exec.Command("/sbin/mount.objectivefs", "-o"+v.opts, v.fs, v.volume.Mountpoint)
cmd.Env = v.env
cmd.Stdout = log.StandardLogger().Out
cmd.Stderr = log.StandardLogger().Out
log.Info("Mount ObjectiveFS Volume '%s': '%s'", r.Name, cmd)
if err := cmd.Run(); err != nil {