From d017808c807676daca991e95f900e3e440ab9f97 Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 7 Oct 2013 19:18:38 +0100 Subject: [PATCH] Do not terminate early on a umount failure --- umount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umount.c b/umount.c index c4eb9fe..23b9ff7 100644 --- a/umount.c +++ b/umount.c @@ -35,7 +35,7 @@ main(int argc, char *argv[]) for (i = 0; i < argc; i++) { if (umount2(argv[i], flags) < 0) - eprintf("umount2:"); + perror("umount2:"); ret = EXIT_FAILURE; } return ret;