diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-02-06 22:55:45 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-02-06 22:55:45 +0000 |
| commit | 3dff622252d0cb84b506dd220773541c7da40be2 (patch) | |
| tree | a3e72f43c3296e2026da24843b6f9ab7c6528548 /src | |
| parent | 43f7f313de2aeb05cff65433577bd620721f2589 (diff) | |
swaroop: speculative fix for non-recovery after power-off.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/swaroop_controls.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/swaroop_controls.cc b/src/wx/swaroop_controls.cc index aa3a095ec..12c843417 100644 --- a/src/wx/swaroop_controls.cc +++ b/src/wx/swaroop_controls.cc @@ -144,6 +144,9 @@ SwaroopControls::check_restart () } } +#ifdef DCPOMATIC_LINUX + fsync (fileno(f)); +#endif DCPOMATIC_LINUX fclose (f); } |
