mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 17:03:59 +08:00
fix maybe_lock_file
introduced in previous commit
This commit is contained in:
parent
ce475c0b4c
commit
e181d825fa
|
@ -380,7 +380,7 @@ bool history_impl_t::maybe_lock_file(int fd, int lock_type) {
|
|||
// is on a remote filesystem.
|
||||
if (abandoned_locking) return false;
|
||||
if (history_t::chaos_mode) return false;
|
||||
if (path_get_data_is_remote()) return false;
|
||||
if (!path_get_data_is_remote()) return false;
|
||||
|
||||
double start_time = timef();
|
||||
int retval = flock(fd, lock_type);
|
||||
|
|
Loading…
Reference in New Issue
Block a user