mirror of
https://github.com/containers/podman.git
synced 2025-09-10 15:46:07 +08:00
![dependabot-preview[bot]](/assets/img/avatar_default.png)
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.23.7 to 1.23.8. - [Release notes](https://github.com/containers/storage/releases) - [Changelog](https://github.com/containers/storage/blob/master/docs/containers-storage-changes.md) - [Commits](https://github.com/containers/storage/compare/v1.23.7...v1.23.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
18 lines
233 B
Go
18 lines
233 B
Go
package system
|
|
|
|
import (
|
|
"errors"
|
|
"os"
|
|
"syscall"
|
|
)
|
|
|
|
func Chmod(name string, mode os.FileMode) error {
|
|
err := os.Chmod(name, mode)
|
|
|
|
for err != nil && errors.Is(err, syscall.EINTR) {
|
|
err = os.Chmod(name, mode)
|
|
}
|
|
|
|
return err
|
|
}
|