aboutsummaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd22/pkg-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'mail/cyrus-imapd22/pkg-deinstall')
-rw-r--r--mail/cyrus-imapd22/pkg-deinstall5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/cyrus-imapd22/pkg-deinstall b/mail/cyrus-imapd22/pkg-deinstall
index 7374db694789..e0dd1b8bb7fc 100644
--- a/mail/cyrus-imapd22/pkg-deinstall
+++ b/mail/cyrus-imapd22/pkg-deinstall
@@ -41,11 +41,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