diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-07-10 10:57:32 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-07-10 10:57:32 +0200 |
commit | a22ee15c603e3fb7066fdd2eca8adf192719ca97 (patch) | |
tree | cc50546af47cbb156309c9c0caca831e702bf493 /bin/raps2 | |
parent | 622a4ad3f3e7da1837f253f816788069631891ad (diff) |
Raps2/UI.pm: to_clipboard: Return undef if xclip fails
Diffstat (limited to 'bin/raps2')
-rwxr-xr-x | bin/raps2 | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -146,7 +146,8 @@ sub cmd_get { my $key = $raps2->pw_load( file => $pwfile ); - $raps2->ui->to_clipboard( $key->{password} ); + $raps2->ui->to_clipboard( $key->{password} ) + or die("Could not place password in clipboard: ${!}\n"); if ( $key->{extra} ) { print $key->{extra}; |