mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-15 08:30:34 +03:00
refurbished valgrind launcher
This commit is contained in:
parent
f51781664c
commit
f0e1aaf82c
4
t
4
t
@ -219,9 +219,9 @@ for my $binary (@binaries) {
|
|||||||
if (!($sslh_pid = fork)) {
|
if (!($sslh_pid = fork)) {
|
||||||
my $user = (getpwuid $<)[0]; # Run under current username
|
my $user = (getpwuid $<)[0]; # Run under current username
|
||||||
my $cmd = "./$binary -v 4 -f -u $user -Ftest.cfg";
|
my $cmd = "./$binary -v 4 -f -u $user -Ftest.cfg";
|
||||||
verbose_exec $cmd;
|
|
||||||
#$valgrind = 1;
|
#$valgrind = 1;
|
||||||
#exec "valgrind --leak-check=full ./$binary -v 3 -f -u $user --listen localhost:$sslh_port --ssh $ssh_address -ssl $ssl_address -P $pidfile";
|
#$cmd = "valgrind --leak-check=full $cmd";
|
||||||
|
verbose_exec $cmd;
|
||||||
exit 0;
|
exit 0;
|
||||||
}
|
}
|
||||||
warn "spawned $sslh_pid\n";
|
warn "spawned $sslh_pid\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user