Skip to content

Commit

Permalink
Merge pull request #1242 from jmchilton/sync_path
Browse files Browse the repository at this point in the history
[15.10] Use fixed path to sync like in dev.
  • Loading branch information
martenson committed Dec 4, 2015
2 parents 736bf3c + f08d518 commit f34d701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/jobs/runners/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def write_executable_script( self, path, contents, mode=0o755 ):
# sync file system to avoid "Text file busy" problems.
# These have occurred both in Docker containers and on EC2 clusters
# under high load.
subprocess.check_call(["sync"])
subprocess.check_call(["/bin/sync"])
except Exception:
pass

Expand Down

0 comments on commit f34d701

Please sign in to comment.