Welcome message

This commit is contained in:
Bob Mottram 2016-02-17 11:51:05 +00:00
parent d7fa0e1eaf
commit ee46b57c44
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ function save_configuration_file {
if [ $MICROBLOG_CODE ]; then
echo "MICROBLOG_CODE=$MICROBLOG_CODE" >> $CONFIGURATION_FILE
fi
if [ $MICROBLOG_WELCOME_MESSAGE ]; then
if [ ${#MICROBLOG_WELCOME_MESSAGE} -gt 1 ]; then
echo "MICROBLOG_WELCOME_MESSAGE=$MICROBLOG_WELCOME_MESSAGE" >> $CONFIGURATION_FILE
fi
if [ $MICROBLOG_BACKGROUND_IMAGE_URL ]; then