commit d017808c807676daca991e95f900e3e440ab9f97 parent 262c1d768ecc708377570b565cd899c20c513d18 Author: sin <sin@2f30.org> Date: Mon, 7 Oct 2013 19:18:38 +0100 Do not terminate early on a umount failure Diffstat:
M | umount.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;