aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/caldav/hooks
diff options
context:
space:
mode:
authorMax <max@mxzero.net>2023-10-13 15:59:44 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2023-11-06 15:42:59 -0500
commitd4eb9f85d07351e184ba16ff91c327425653d3e9 (patch)
tree7b2540b55f1f492b06468cd78afcdfd7f35d93b8 /contrib/caldav/hooks
parent535088c8096b028d3c0c3ceaf7b49aeec4258fa1 (diff)
downloadcalcurse-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/caldav/hooks')
0 files changed, 0 insertions, 0 deletions