From 5f81eb4a3680408ab6774cd509b581b940fde8ac Mon Sep 17 00:00:00 2001 From: George Fleury Date: Mon, 22 Dec 2014 01:44:32 +0000 Subject: [PATCH] Fix wrong parameters on start daemon script --- start-telegram-daemon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start-telegram-daemon b/start-telegram-daemon index 85c8584..7484781 100755 --- a/start-telegram-daemon +++ b/start-telegram-daemon @@ -112,7 +112,7 @@ if(open $etchandle, $etcfile) $have_l = 1 if $line =~ /^-L\s/; $have_c = 1 if $line =~ /^-c\s/; - $have_u = 1 if $line =~ /^-u\s/; + $have_u = 1 if $line =~ /^-U\s/; push @$params, $line; } @@ -120,7 +120,7 @@ if(open $etchandle, $etcfile) $params = []; } -push @$params, "-u telegramd" unless($have_u); +push @$params, "-U telegramd" unless($have_u); push @$params, "-L $fd_reopened" unless($have_l); push @$params, "-c config$idl" unless($have_c); $params = join " ", @$params;