mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-31 23:28:45 +00:00
fix maybe_lock_file
introduced in previous commit
This commit is contained in:
parent
ce475c0b4c
commit
e181d825fa
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ bool history_impl_t::maybe_lock_file(int fd, int lock_type) {
|
||||||
// is on a remote filesystem.
|
// is on a remote filesystem.
|
||||||
if (abandoned_locking) return false;
|
if (abandoned_locking) return false;
|
||||||
if (history_t::chaos_mode) 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();
|
double start_time = timef();
|
||||||
int retval = flock(fd, lock_type);
|
int retval = flock(fd, lock_type);
|
||||||
|
|
Loading…
Reference in a new issue