]> err.no Git - util-linux/commit
umount: don't print duplicate error messages
authorKarel Zak <kzak@redhat.com>
Mon, 28 Jan 2008 12:13:25 +0000 (13:13 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 28 Jan 2008 12:13:25 +0000 (13:13 +0100)
commit603815e03dfdf906ece9fa37af76371667200d18
tree78b7fc295a0e23835fbabcb0bb3aa640a3e707e1
parentff83f99ef6b8adc10a729ac86d4cbf1179166776
umount: don't print duplicate error messages

umount(8) is trying to umount a device two times to prevent some
obscure scenarios. It's maybe a nice feature, but it also produces
duplicate error messages.

  # umount /home
  umount: /home: device is busy
  umount: /home: device is busy

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