diff options
author | Max <max@mxzero.net> | 2023-10-13 15:59:44 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2023-11-06 15:42:59 -0500 |
commit | d4eb9f85d07351e184ba16ff91c327425653d3e9 (patch) | |
tree | 7b2540b55f1f492b06468cd78afcdfd7f35d93b8 /contrib/hooks/post-save | |
parent | 535088c8096b028d3c0c3ceaf7b49aeec4258fa1 (diff) | |
download | calcurse-d4eb9f85d07351e184ba16ff91c327425653d3e9.tar.gz calcurse-d4eb9f85d07351e184ba16ff91c327425653d3e9.zip |
Remove new line character from result of password command
For example, using `pass caldav` as `PasswordCommand` returns the
password for the account including a newline character at the end
because the whole output is captured. This fix removes the new line
character at the end of the line while keeping other whitespace
character should the password contain any at the end.
Signed-off-by: Max <max@mxzero.net>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'contrib/hooks/post-save')
0 files changed, 0 insertions, 0 deletions