diff options
author | Andrew Gaffney <agaffney@gentoo.org> | 2007-12-30 02:35:25 +0000 |
---|---|---|
committer | Andrew Gaffney <agaffney@gentoo.org> | 2007-12-30 02:35:25 +0000 |
commit | 830c2c1081d3e48aa2bee499c2f2fb0158f8a86e (patch) | |
tree | a4a8d46bcded5601d810ac3c90eb140aff0f0717 | |
parent | add END block and clean up errors (diff) | |
download | scire-830c2c1081d3e48aa2bee499c2f2fb0158f8a86e.tar.gz scire-830c2c1081d3e48aa2bee499c2f2fb0158f8a86e.tar.bz2 scire-830c2c1081d3e48aa2bee499c2f2fb0158f8a86e.zip |
remove END block as it seems unnecessary, since it looks like ssh dies by itself when the STDIN and STDOUT are closed
svn path=/branches/new-fu/; revision=277
-rwxr-xr-x | client/scireclient.pl | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/client/scireclient.pl b/client/scireclient.pl index 59ca042..8c8bdff 100755 --- a/client/scireclient.pl +++ b/client/scireclient.pl @@ -10,7 +10,6 @@ use Getopt::Long; use Data::Dumper; use File::Path; #use Net::SSH::Perl::Key; -use POSIX ":sys_wait_h"; my $SCIRE_CONFIG_FILE = '../etc/scire.conf'; #will be /etc/scire.conf when released. my %conf; @@ -243,9 +242,3 @@ sub debug { print STDERR $msg; } } - -END { - while(waitpid($connection_pid, WNOHANG)) { - kill($connection_pid); - } -} |