From 759da957e2c8123ce723df2706357a855fd4854d Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Sun, 26 Jan 2014 20:53:21 +0100 Subject: [PATCH] debug ssh --- app/zone/edit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/zone/edit.pm b/app/zone/edit.pm index 188efb8..52f8ccd 100644 --- a/app/zone/edit.pm +++ b/app/zone/edit.pm @@ -170,7 +170,7 @@ sub del { my $user = $self->user; my $cmd = "rm $file"; - sshopen2("$user\@$host", *READER, *WRITER, "$cmd") || die "ssh: $!"; + Net::SSH::sshopen2("$user\@$host", *READER, *WRITER, "$cmd") || die "ssh: $!"; close(READER); close(WRITER);