diff --git a/cmd/mountlib/rc.go b/cmd/mountlib/rc.go index b675abda9..bde259c88 100644 --- a/cmd/mountlib/rc.go +++ b/cmd/mountlib/rc.go @@ -97,6 +97,10 @@ func mountRc(ctx context.Context, in rc.Params) (out rc.Params, err error) { return nil, err } + if mountOpt.Daemon { + return nil, errors.New("Daemon Option not supported over the API") + } + mountType, err := in.GetString("mountType") mountMu.Lock()