From f991d6b542a0d1c3d345006593a24d95609fc676 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 30 Sep 2011 11:26:07 +0200 Subject: umount: add warning It's better to inform users about reason why their request does not makes sense :-) Signed-off-by: Karel Zak --- mount/umount.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mount') diff --git a/mount/umount.c b/mount/umount.c index f29d7cafb..ad93e757b 100644 --- a/mount/umount.c +++ b/mount/umount.c @@ -652,9 +652,9 @@ try_loopdev: file = loopdev; goto try_loopdev; - } else if (count > 1 && verbose) - printf(_("%s is associated with more than one " - "loop device: not unmounting\n"), arg); + } else if (count > 1) + fprintf(stderr, _("umount: warning: %s is associated " + "with more than one loop device\n"), arg); } if (mc) { -- cgit v1.2.3-55-g7522