diff options
author | Dave Brolley <brolley@redhat.com> | 2009-12-18 12:16:33 -0500 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-12-18 12:16:33 -0500 |
commit | a18a40d0cf1408d5575165ebc4374a1ab4f9fbc0 (patch) | |
tree | 60b3a851a23b3bd7d944604c931e8ef1a9bd23c7 /stap-server | |
parent | de23650e8c1d62114653427984e0b807c9f4df16 (diff) | |
download | systemtap-steved-a18a40d0cf1408d5575165ebc4374a1ab4f9fbc0.tar.gz systemtap-steved-a18a40d0cf1408d5575165ebc4374a1ab4f9fbc0.tar.xz systemtap-steved-a18a40d0cf1408d5575165ebc4374a1ab4f9fbc0.zip |
PR 10641: Do not allow -m when --unprivileged in the server.
Diffstat (limited to 'stap-server')
-rwxr-xr-x | stap-server | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/stap-server b/stap-server index d69119db..9e30a121 100755 --- a/stap-server +++ b/stap-server @@ -285,7 +285,11 @@ function parse_options { ;; m) get_arg $first_token $2 - stap_options="$stap_options -$first_char $stap_arg" + if test $unprivileged = 1; then + fatal "You can't specify -$first_char and --unprivileged together." + else + stap_options="$stap_options -$first_char $stap_arg" + fi ;; o) get_arg $first_token $2 |