diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2011-11-15 13:23:24 -0800 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-11-15 13:24:02 -0800 |
| commit | 8f512f9bdb2cf436e4ec63c31410d8033d75779a (patch) | |
| tree | 802f4b4d2a5737774286cfca31689323e4314686 /scripts/git-hooks/commit-msg | |
| parent | ls: another reword of generic size note (diff) | |
| download | coreutils-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
