bugfix in vpopmail restart
[freeside.git] / FS / FS / part_export / vpopmail.pm
index 646af44..a505a0f 100644 (file)
@@ -217,7 +217,7 @@ sub vpopmail_sync {
         'STDOUT: '. join(" / ", $rsync->out);
   }
 
-  eval "use Net::SSH;";
+  eval "use Net::SSH qw(ssh);";
   die $@ if $@;
 
   ssh("vpopmail\@$machine", $restart) if $restart;