missed a spot in history.cpp.

path_get_data_is_remote is a bool, mostly.
This commit is contained in:
Aaron Gyes 2021-12-09 00:33:20 -08:00
parent e65405ef52
commit 815502fa9e

View File

@ -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);