Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zimbra
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
zimbra
Commits
12177aae
Commit
12177aae
authored
May 27, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qshape: removed hardcoded checks for zimbra user; removed sudo call
parent
0ad75a1e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
ZimbraServer/src/bin/qshape
ZimbraServer/src/bin/qshape
+7
-6
No files found.
ZimbraServer/src/bin/qshape
View file @
12177aae
...
...
@@ -16,10 +16,11 @@
source
/opt/zimbra/bin/zmshutil
||
exit
1
zmsetvars
ID
=
$(
id
-un
)
if
[
x
"
$ID
"
!=
"xzimbra"
]
;
then
echo
"
$0
must be run as user zimbra."
exit
1
fi
# XXX SLAPOS must run as current user
#ID=$(id -un)
#if [ x"$ID" != "xzimbra" ]; then
# echo "$0 must be run as user zimbra."
# exit 1
#fi
sudo
/opt/zimbra/postfix/sbin/qshape.pl
"
$@
"
/opt/zimbra/postfix/sbin/qshape.pl
"
$@
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment