]> err.no Git - util-linux/commit
fsck: returns proper code on exec() error
authorKarel Zak <kzak@redhat.com>
Mon, 27 Dec 2010 21:30:24 +0000 (22:30 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 27 Dec 2010 21:31:36 +0000 (22:31 +0100)
commit6c6f2af9e3949197cf7a70255895a2f4451f2319
treefd31717a95ba72aee4127a1d4dfa3d028d5c3093
parent61cbc01a89739ff7c3f668108b15a5ec86963f9b
fsck: returns proper code on exec() error

# fsck -t foo /dev/sda1; echo $?
fsck: fsck.foo: not found
/sbin/fsck: Error 2 while executing fsck.foo for /dev/sda1
0

new version:

# fsck -t foo /dev/sda1; echo $?
fsck: fsck.foo: not found
fsck: Error 2 while executing fsck.foo for /dev/sda1
8

Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=619139
Signed-off-by: Karel Zak <kzak@redhat.com>
fsck/fsck.c