]> git.ipfire.org Git - thirdparty/util-linux.git/commit
umount: (new) use the same exit codes as mount(8)
authorKarel Zak <kzak@redhat.com>
Mon, 23 Jan 2012 10:15:41 +0000 (11:15 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 23 Jan 2012 10:15:41 +0000 (11:15 +0100)
commit73f9a114049e3991514db3665664346c04d777e7
tree3ecfdf497a9f2a720f8e1635edbbdc71154a9d2a
parent497d2ce7ea26f877315d4e44c44c2c6aeed91426
umount: (new) use the same exit codes as mount(8)

Note that old umount(8) uses 0 and 1 exit codes, and some
exceptions like 4 or 32.

The new umount(8) cleanups this mess and uses the same exit codes as
mount(8) (see mount(8) man page).

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/umount.c