add more logs

This commit is contained in:
chrislu
2022-08-31 23:16:05 -07:00
parent 97d69d5336
commit bcf35876d1
2 changed files with 5 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ package command
import (
"bufio"
"fmt"
"github.com/seaweedfs/seaweedfs/weed/glog"
"io"
"os"
"strings"
@@ -142,6 +143,9 @@ func checkMountPointAvailable(dir string) bool {
}
if mounted, err := mounted(mountPoint); err != nil || mounted {
if err != nil {
glog.Errorf("check %s: %v", mountPoint, err)
}
return false
}