diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2011-06-17 21:03:21 (GMT) |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2011-06-17 21:03:21 (GMT) |
commit | f52ab265f5dac305a8a4fd469ae91f3982ebffb9 (patch) | |
tree | 07e1d2c795d4628c9e91a912f93389ecb984cecb /lib/Kolab/Cyrus.pm | |
parent | 47b41c6c53cb88b4b73e800475ccdc5f90d58e45 (diff) | |
download | perl-Kolab-f52ab265f5dac305a8a4fd469ae91f3982ebffb9.tar.gz |
Fix the return values for transferMailbox
Diffstat (limited to 'lib/Kolab/Cyrus.pm')
-rw-r--r-- | lib/Kolab/Cyrus.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Kolab/Cyrus.pm b/lib/Kolab/Cyrus.pm index 7ed630a..3279ca3 100644 --- a/lib/Kolab/Cyrus.pm +++ b/lib/Kolab/Cyrus.pm @@ -235,10 +235,10 @@ sub transferMailbox if (!$cyrus->xfermailbox($mailboxPath, $mailHost)) { Kolab::log('Y', "Unable to transfer mailbox `$mailboxPath' to `$mailHost', Error = `" . $cyrus->error . "'", KOLAB_WARN); - return 0; + return 1; } - return 1; + return 0; } sub setACL |