summaryrefslogtreecommitdiff
path: root/bin/raps2
diff options
context:
space:
mode:
Diffstat (limited to 'bin/raps2')
-rwxr-xr-xbin/raps23
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/raps2 b/bin/raps2
index ed86bca..45c6149 100755
--- a/bin/raps2
+++ b/bin/raps2
@@ -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};