summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpassmenu2
1 files changed, 1 insertions, 1 deletions
diff --git a/passmenu b/passmenu
index 9c83324..be6d252 100755
--- a/passmenu
+++ b/passmenu
@@ -95,7 +95,7 @@ if ($menu eq 'internal') {
chomp $choice;
my $pass = `pass show '$choice'`;
if ($login) {
- $pass =~ s/.*login: (.+)\n.*/$1/s;
+ $pass =~ s/.*login: (.+?)\n.*/$1/s;
} else {
$pass =~ s/\n.*//s;
}