1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-15 07:43:35 +00:00

cmount: name the command mount under windows and cmount under linux

This commit is contained in:
Nick Craig-Wood
2017-05-08 17:10:15 +01:00
parent b179540e80
commit 855071cc19
3 changed files with 18 additions and 9 deletions

View File

@@ -5,6 +5,8 @@ package cmount
import "golang.org/x/sys/unix"
const commandName = "cmount"
func init() {
umask = unix.Umask(0) // read the umask
unix.Umask(umask) // set it back to what it was