diff options
Diffstat (limited to 'pkg/driver/mounter.go')
| -rw-r--r-- | pkg/driver/mounter.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/driver/mounter.go b/pkg/driver/mounter.go index 3906232..44ff6af 100644 --- a/pkg/driver/mounter.go +++ b/pkg/driver/mounter.go @@ -27,8 +27,9 @@ func fuseMount(path string, command string, args []string) error { cmd := exec.Command(command, args...) glog.V(0).Infof("Mounting fuse with command: %s and args: %s", command, args) - out, err := cmd.CombinedOutput() + err := cmd.Start() if err != nil { + glog.Errorf("running weed mount: %v", err) return fmt.Errorf("Error fuseMount command: %s\nargs: %s\noutput: %s\nerror: %v", command, args, out, err) } |
