Fix wrong parameters on start daemon script

This commit is contained in:
George Fleury 2014-12-22 01:44:32 +00:00
parent fde3182b40
commit 5f81eb4a36

View File

@ -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;