commit | e4f0a20ee14b5ee3d80f4617ec0d68f61ab36ea1 | [log] [tgz] |
---|---|---|
author | Dan Walsh <dwalsh@redhat.com> | Thu May 24 05:52:17 2012 -0400 |
committer | Eric Paris <eparis@redhat.com> | Wed Sep 12 12:16:17 2012 -0400 |
tree | 5ec63cc9fedeb9cbe9836546660f85d08237c6a3 | |
parent | cef1d08d1e81cc3e230553966060a7da59eabf6b [diff] |
polciycoreutils: setsebool: error when setting multiple options If one were to use multiple options such as both -P and -N we would have problems. The issue is that for some reason instead of looking at optind (the first non-option) we were looking at argc-optind. These happen to be the same if there are 0 or 1 options, but doesn't work with more than 1 option. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>