You must login to view /lordwelch/chasquid/commit/a54d81f40681761111715a1869c106a6e28f2d38?files=chasquid.go.
The GitHub option should be usable for most people, it only links via username.

Files
chasquid/docker/add-user.sh
Ernesto Alfonso a0f09308ed docker/add-user.sh: Don't crash on updating when there is a single user
When a single dovecot user exists and their password is being updated via
docker/add-user.sh, the `grep -v` command intended to remove the user's
old password will not match any lines and exit with error code 1, causing
the entire script to fail.

This patch fixes it by replacing the if-grep logic with a simpler sed
invocation.

https://github.com/albertito/chasquid/pull/43

Amended-by: Alberto Bertogli <albertito@blitiri.com.ar>
  Minor edits to the commit message.
2023-10-29 22:28:08 +00:00

961 B
Executable File