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 aa3a095ec459411bd487f3bdac4f14b81658e259..12c843417d695f52ba1c877e953695b6054cbdb9 100644 (file)
@@ -144,6 +144,9 @@ SwaroopControls::check_restart ()
                }
        }
 
+#ifdef DCPOMATIC_LINUX
+       fsync (fileno(f));
+#endif DCPOMATIC_LINUX
        fclose (f);
 }