swaroop: speculative fix for non-recovery after power-off.
authorCarl Hetherington <cth@carlh.net>
Wed, 6 Feb 2019 22:55:45 +0000 (22:55 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 6 Feb 2019 22:55:45 +0000 (22:55 +0000)
src/wx/swaroop_controls.cc

index aa3a095..12c8434 100644 (file)
@@ -144,6 +144,9 @@ SwaroopControls::check_restart ()
                }
        }
 
+#ifdef DCPOMATIC_LINUX
+       fsync (fileno(f));
+#endif DCPOMATIC_LINUX
        fclose (f);
 }