mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-23 22:11:13 +01: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
|
||||
// fix github.com/ddworken/hishtory/issues/69
|
||||
if syscall.ImplementsGetwd && false {
|
||||
if syscall.ImplementsGetwd {
|
||||
cwd, err = syscall.Getwd()
|
||||
if err == nil {
|
||||
return cwd, nil
|
||||
|
Loading…
Reference in New Issue
Block a user