aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-11-15 13:23:24 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-11-15 13:24:02 -0800
commit8f512f9bdb2cf436e4ec63c31410d8033d75779a (patch)
tree802f4b4d2a5737774286cfca31689323e4314686 /scripts/git-hooks/commit-msg
parentls: another reword of generic size note (diff)
downloadcoreutils-8f512f9bdb2cf436e4ec63c31410d8033d75779a.tar.gz
coreutils-8f512f9bdb2cf436e4ec63c31410d8033d75779a.zip
id: fix bug when euid != ruid
* src/id.c (main): Report an error if no args are given and getuid fails, because print_full_info needs ruid. Redo code so that getuid and friends are invoked only when needed; this makes the code easier to follow, and is how I found the above bug.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions