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.
961 B
Executable File
961 B
Executable File