From 4e284e97b95d1fe93378b90061272e3abc875078 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 5 May 2017 17:24:16 +0200 Subject: Server: finish old jobs at startup --- server.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server.js') diff --git a/server.js b/server.js index 54fa914bf..b2487b767 100644 --- a/server.js +++ b/server.js @@ -29,6 +29,11 @@ const missed = checker.checkMissedConfig() if (missed.length !== 0) { throw new Error('Miss some configurations keys : ' + missed) } +checker.checkFFmpeg(function (err) { + if (err) { + throw err + } +}) const errorMessage = checker.checkConfig() if (errorMessage !== null) { -- cgit v1.2.3