mirror of https://github.com/perkeep/perkeep.git
devcam: mount: extra args go before mountpoint
Change-Id: Ibe0686c6e2c847c16b916133edbbb56915ff8ae6
This commit is contained in:
parent
e5ad2282c4
commit
77dd30fbd1
|
@ -110,9 +110,9 @@ func (c *mountCmd) RunCommand(args []string) error {
|
||||||
"-xterm=" + strconv.FormatBool(c.xterm),
|
"-xterm=" + strconv.FormatBool(c.xterm),
|
||||||
"-debug=" + strconv.FormatBool(c.debug),
|
"-debug=" + strconv.FormatBool(c.debug),
|
||||||
"-server=" + blobserver,
|
"-server=" + blobserver,
|
||||||
mountpoint,
|
|
||||||
}
|
}
|
||||||
cmdArgs = append(cmdArgs, args...)
|
cmdArgs = append(cmdArgs, args...)
|
||||||
|
cmdArgs = append(cmdArgs, mountpoint)
|
||||||
fmt.Printf("Cammount running with mountpoint %v. Press 'q' <enter> or ctrl-c to shut down.\n", mountpoint)
|
fmt.Printf("Cammount running with mountpoint %v. Press 'q' <enter> or ctrl-c to shut down.\n", mountpoint)
|
||||||
return runExec(cmdBin, cmdArgs, c.env)
|
return runExec(cmdBin, cmdArgs, c.env)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue