ALT Linux Bugzilla – #3379
exit status is always 0
Last modified: 2005-07-13 15:45:39
You need to
before you can comment on or make changes to this bug.
$ chrpath -d /dev/null; echo $?
reading header: Success
elf_open: Illegal seek
Fixed in chrpath-0.12-alt1.
but why it should break if the patient doesn't need curing?
if it's a shell script (not ELF 32-bit LSB, okay) -- you'd just ignore it and
not bail out.
otherwise you require unneeded effort of choosing only ELF in a typical
binary/script mix being processed.
okay, what about /dev/null?
So I asked what about /dev/null.
Anyway, use shell smile. It lets you take things easy.
chrpath -d %buildroot%_bindir/* ||:
Closed so far (see my previous comments here).
so be it