fix linux open bug

This commit is contained in:
Kelvin Sherlock 2017-08-08 20:32:45 -04:00
parent dc3c9ed1ce
commit 85305dcab9

View File

@ -461,7 +461,7 @@ namespace afp {
close();
ec.clear();
int fd = openX(path, ec);
_fd = openX(path, ec);
if (ec) return false;
_mode = mode;