Skip to content

Node.js based forum software built for the modern web

closes #501

Baris Soner Usaklid1d6605dcf52
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.');