vendor update

master v1.1.1
兔子 2 years ago
parent 5353429b8c
commit c615c4bb00
Signed by: b612
GPG Key ID: 481225A74DEB62A1

@ -78,7 +78,7 @@ func (f *FileLock) Unlock() error {
}
func (f *FileLock) LockWithTimeout(tm time.Duration, Exclusive bool) error {
return stario.StopUntilTimeout(tm, func(tmout chan struct{}) error {
return stario.WaitUntilTimeout(tm, func(tmout chan struct{}) error {
err := f.Lock(Exclusive)
select {
case <-tmout:

@ -59,7 +59,7 @@ func Daemon(path string, args ...string) (int, error) {
return pid, nil
}
func (starcli *StarCmd) SetRunUser(uid, gid uint32) {
func (starcli *StarCmd) SetRunUser(uid, gid uint32, groups []uint32) {
}
@ -69,4 +69,4 @@ func (starcli *StarCmd) Release() error {
}
starcli.CMD.Process.Release()
return nil
}
}

Loading…
Cancel
Save