Commit 12177aae authored by Marco Mariani's avatar Marco Mariani

qshape: removed hardcoded checks for zimbra user; removed sudo call

parent 0ad75a1e
...@@ -16,10 +16,11 @@ ...@@ -16,10 +16,11 @@
source /opt/zimbra/bin/zmshutil || exit 1 source /opt/zimbra/bin/zmshutil || exit 1
zmsetvars zmsetvars
ID=$(id -un) # XXX SLAPOS must run as current user
if [ x"$ID" != "xzimbra" ]; then #ID=$(id -un)
echo "$0 must be run as user zimbra." #if [ x"$ID" != "xzimbra" ]; then
exit 1 # echo "$0 must be run as user zimbra."
fi # exit 1
#fi
sudo /opt/zimbra/postfix/sbin/qshape.pl "$@" /opt/zimbra/postfix/sbin/qshape.pl "$@"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment