umount: show correct error message
authorLennart Poettering <lennart@poettering.net>
Fri, 20 Dec 2019 15:59:42 +0000 (16:59 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 20 Dec 2019 17:15:59 +0000 (18:15 +0100)
commit88287615e631d2023ff337a08b6ff45b1cfa58ee
treead9e9738c72a0985d1afea44d7d46397c369d73e
parent610f9a42c4a8c34d9b3a2b6c6289e8c45b57283f
umount: show correct error message

We fucked up errno vs. r two times, let's correct that.

While we are at it, let's handle the error first, like we usually do,
and the clean case without indentation.
src/shutdown/umount.c