From d1d6605dcf52c085d2bc57aee45a71b3cd78a8a4 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Sat, 7 Dec 2013 16:51:47 -0500 Subject: [PATCH] closes #501 --- app.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app.js b/app.js index 8defae9ab2..06be47c483 100644 --- a/app.js +++ b/app.js @@ -48,6 +48,13 @@ winston.error(err.stack); }; + require('child_process').exec('/usr/bin/which convert', function(err, stdout, stderr) { + if(err) { + winston.warn('Counldn\'t find convert. Did you install imagemagick? ', err.message); + } + winston.warn('Counldn\'t find convert. Did you install imagemagick? ', err); + }); + // Log GNU copyright info along with server info winston.info('NodeBB v' + pkg.version + ' Copyright (C) 2013 DesignCreatePlay Inc.'); winston.info('This program comes with ABSOLUTELY NO WARRANTY.');