mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-01 23:24:21 +08:00
missed a spot in history.cpp.
path_get_data_is_remote is a bool, mostly.
This commit is contained in:
parent
e65405ef52
commit
815502fa9e
|
@ -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() == 1) 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 New Issue
Block a user