mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 18:27:04 +03:00
parent
9ecf63a457
commit
1ed555b712
@ -1004,6 +1004,11 @@ static int action_umount(
|
|||||||
|
|
||||||
p = canonicalize_file_name(a);
|
p = canonicalize_file_name(a);
|
||||||
|
|
||||||
|
if (!p) {
|
||||||
|
r2 = log_error_errno(errno, "Failed to canonicalize path %s: %m", argv[i]);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (stat(p, &st) < 0)
|
if (stat(p, &st) < 0)
|
||||||
return log_error_errno(errno, "Can't stat %s: %m", p);
|
return log_error_errno(errno, "Can't stat %s: %m", p);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user