summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbzp99 <bertalanp99+git@bertalanp99.eu>2020-11-01 14:01:19 +0100
committerbzp99 <bertalanp99+git@bertalanp99.eu>2020-11-01 14:01:19 +0100
commit23e2e0b364e01a8471b196f60a9d3f799d18a15a (patch)
tree26e16c61f5f6c7ffcb381940083f5e120a4c8414
parente72bd1b0411455649f3e8ed54941e80165c2dc11 (diff)
downloadpassmenu-23e2e0b364e01a8471b196f60a9d3f799d18a15a.tar.gz
passmenu-23e2e0b364e01a8471b196f60a9d3f799d18a15a.zip
fix login field matchingHEADmaster
-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;
}