Ignore:
Timestamp:
12/23/11 17:03:52 (13 years ago)
Author:
nanardon
Message:
  • fix error detection
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Link-Accounts-Remote/bin/la-chpasswd

    r870 r871  
    6565my $lar = Link::Accounts::Remote->new($url); 
    6666 
    67 if ($lar->simple_request( 
     67if ($lar->query( 
    6868        'user.change_password', 
    6969        $user, 
     
    7474    exit 0; 
    7575} else { 
    76     die "Error when trying to change password: " . $RPC::XML::ERROR . "\n"; 
     76    die "Error when trying to change password: " . $Link::Accounts::Remote::ERROR . "\n"; 
    7777} 
    7878 
Note: See TracChangeset for help on using the changeset viewer.