mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where reading process logs throws an error when DATA_DIR is moved to a networked drive. #6803
This commit is contained in:
@@ -478,7 +478,7 @@ class BatchProcess:
|
||||
return 0, True
|
||||
|
||||
with open(logfile, 'rb') as f:
|
||||
eofs = os.fstat(f.fileno()).st_size
|
||||
eofs = os.path.getsize(logfile)
|
||||
f.seek(pos, 0)
|
||||
if pos == eofs and ecode is None:
|
||||
completed = False
|
||||
|
||||
Reference in New Issue
Block a user