go-selfupdate
go-selfupdate copied to clipboard
Properly handle missing files
The os.Open
call does not return os.ErrNotExist
. But its error can be checked with os.IsNotExist()
function.
The os.Open
call does not return os.ErrNotExist
. But its error can be checked with os.IsNotExist()
function.