Thanks for the patch, I applied it and got these messages:
Code:
patching file zmtrainsa
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 succeeded at 39 with fuzz 1 (offset 4 lines).
Hunk #2 succeeded at 58 with fuzz 2.
That still produced the error when I ran zmtrainsa.
I copied the original file back and tried 'n' in answer to the 'Assume -R' I got this:
Code:
patching file zmtrainsa
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n] y
Hunk #1 FAILED at 39.
Hunk #2 succeeded at 50 with fuzz 2 (offset -4 lines).
1 out of 2 hunks FAILED -- saving rejects to file zmtrainsa.rej
and the .rej file contained:
Code:
***************
*** 39,48 ****
exit 1
fi
- if [ x$FOLDER != "x" ]; then
- FOLDER="-r $FOLDER"
- fi
-
if [ x`whoami` != xzimbra ]; then
echo Error: must be run as zimbra user
exit 1
--- 39,44 ----
exit 1
fi
if [ x`whoami` != xzimbra ]; then
echo Error: must be run as zimbra user
exit 1 Sorry, I wasn't sure which one to try so I did both.