Skip to content

Commit 5f81eb4

Browse files
committed
Fix wrong parameters on start daemon script
1 parent fde3182 commit 5f81eb4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎start-telegram-daemon‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ if(open $etchandle, $etcfile)
112112

113113
$have_l = 1 if $line =~ /^-L\s/;
114114
$have_c = 1 if $line =~ /^-c\s/;
115-
$have_u = 1 if $line =~ /^-u\s/;
115+
$have_u = 1 if $line =~ /^-U\s/;
116116
push @$params, $line;
117117
}
118118

119119
}else{
120120
$params = [];
121121
}
122122

123-
push @$params, "-u telegramd" unless($have_u);
123+
push @$params, "-U telegramd" unless($have_u);
124124
push @$params, "-L $fd_reopened" unless($have_l);
125125
push @$params, "-c config$idl" unless($have_c);
126126
$params = join " ", @$params;

0 commit comments

Comments
 (0)