Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git] / FS / FS / part_export / cardfortress.pm
index 68a1aea..7ff7280 100644 (file)
@@ -56,7 +56,7 @@ sub _export_replace {
 }
 
 sub _export_delete {
-  #my( $self, $svc_x ) = (shift, shift);
+  my( $self, $svc_acct ) = (shift, shift);
 
   #well, we're just going to disable them for now, but there you go
 
@@ -67,7 +67,7 @@ sub _export_delete {
   my $ssh = Net::OpenSSH->new( $self->machine,
                                default_stdin_fh => $def_in );
 
-  my $private_key = $ssh->run(
+  my $unused_output = $ssh->capture(
     '/usr/local/bin/merchant_disable', map $svc_acct->$_, qw( username )
   );
   return $ssh->error if $ssh->error;