diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-09-26 12:30:31 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-09-26 12:30:31 +0200 |
commit | 642e439ddac3c27431616778925f26d37e3db0fb (patch) | |
tree | 6c0db2ed38418728766008a6a3b49bef51740b71 /bin/common | |
parent | 490beb2bfe184a96c92b831219569d6e89ade8ef (diff) |
checkpoint
Diffstat (limited to 'bin/common')
-rwxr-xr-x | bin/common/askpass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/common/askpass b/bin/common/askpass index c7d2249..ebd833c 100755 --- a/bin/common/askpass +++ b/bin/common/askpass @@ -12,6 +12,5 @@ key="$(printf '%s\n' "$1" | pass="keys/$(hostname)/ssh/$key" # optional: add key to running ssh-agent -keyadd "$key" & - -pass show "$pass" | head -n 1 +keyadd "$key" && + pass show "$pass" | head -n 1 |