From 43aec7c81d8b04083f4957ad77d770253483e48e Mon Sep 17 00:00:00 2001 From: Denver Gingerich Date: Sat, 11 Feb 2017 20:59:15 +0000 Subject: [PATCH] make stdout synchronous so easier to read log file --- mpx-catapult.rb | 4 +++- sgx-catapult.rb | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/mpx-catapult.rb b/mpx-catapult.rb index 3c3eedbd4df06c4c979c93c6a1c4454fad72779c..3d8f065390d5c99c4054f179da5eeab239eb7f2d 100755 --- a/mpx-catapult.rb +++ b/mpx-catapult.rb @@ -17,7 +17,9 @@ # You should have received a copy of the GNU Affero General Public License along # with sgx-catapult. If not, see . -puts "Soprani.ca/MMS Proxy for XMPP - Catapult v0.004\n\n" +$stdout.sync = true + +puts "Soprani.ca/MMS Proxy for XMPP - Catapult v0.005\n\n" require 'goliath' require 'net/http' diff --git a/sgx-catapult.rb b/sgx-catapult.rb index 20dd2e2431fefdec4f6e2f1e35a6e24b5eb4da5c..788ae5575f9ea7a95a9c65c84ecea4d9d5ec2e82 100755 --- a/sgx-catapult.rb +++ b/sgx-catapult.rb @@ -31,7 +31,9 @@ require 'goliath/api' require 'goliath/server' require 'log4r' -puts "Soprani.ca/SMS Gateway for XMPP - Catapult v0.022\n\n" +$stdout.sync = true + +puts "Soprani.ca/SMS Gateway for XMPP - Catapult v0.023\n\n" if ARGV.size != 9 then puts "Usage: sgx-catapult.rb " +