diff options
Diffstat (limited to 'sshfs.c')
-rw-r--r-- | sshfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2563,7 +2563,8 @@ static int sshfs_fsync(const char *path, int isdatasync, int err; (void) isdatasync; - if (err = sshfs_flush(path, fi)) + err = sshfs_flush(path, fi); + if (err) return err; if (!sshfs.ext_fsync) |