mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-26 15:02:00 +02:00
Remove && false to enable the getwd syscall as a fallback
This commit is contained in:
parent
8422aa21db
commit
765c1c18d0
@ -74,7 +74,7 @@ func getCwdWithoutSubstitution() (string, error) {
|
|||||||
}
|
}
|
||||||
// Fall back to the syscall to see if that works, as an attempt to
|
// Fall back to the syscall to see if that works, as an attempt to
|
||||||
// fix github.com/ddworken/hishtory/issues/69
|
// fix github.com/ddworken/hishtory/issues/69
|
||||||
if syscall.ImplementsGetwd && false {
|
if syscall.ImplementsGetwd {
|
||||||
cwd, err = syscall.Getwd()
|
cwd, err = syscall.Getwd()
|
||||||
if err == nil {
|
if err == nil {
|
||||||
return cwd, nil
|
return cwd, nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user