aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-04-27 21:24:03 +0200
committerJim Meyering <meyering@redhat.com>2012-04-27 23:00:55 +0200
commitc8b8279d2bd9ed1005ebbcca018446d3a245b97c (patch)
treeeac81bce0d8daa50d906be42eeb0287a8f0b036f /scripts/git-hooks/commit-msg
parentmaint: id: minor factorization (diff)
downloadcoreutils-c8b8279d2bd9ed1005ebbcca018446d3a245b97c.tar.gz
coreutils-c8b8279d2bd9ed1005ebbcca018446d3a245b97c.zip
id: don't call getcon unnecessarily
* src/id.c (main): Invocations like "id" and "id -G" would call getcon to determine the current security context even though that result would not be used. Similarly, when POSIXLY_CORRECT is set. Rearrange conditionals and hoist the POSIXLY_CORRECT test so that we call getcon only when necessary.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions