aboutsummaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd/pkg-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'mail/cyrus-imapd/pkg-deinstall')
-rw-r--r--mail/cyrus-imapd/pkg-deinstall5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/cyrus-imapd/pkg-deinstall b/mail/cyrus-imapd/pkg-deinstall
index 9604f2773537..308f2d5e49a3 100644
--- a/mail/cyrus-imapd/pkg-deinstall
+++ b/mail/cyrus-imapd/pkg-deinstall
@@ -52,11 +52,10 @@ modify_cyrus_user() {
uhome=/nonexistent
if ! ${PW} mod user ${USER} -d "${uhome}" -s "${shell}"; then
- e=$?
echo "*** Failed to update user \`${USER}'."
- exit ${e}
+ else
+ echo "*** Updated user \`${USER}'."
fi
- echo "*** Updated user \`${USER}'."
}
case $2 in