mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
Merge pull request #228 from teg/tmpfiles-btrfs-notdir
tmpfiles: silently ignore failed removal of btrfs submount from non-dir
This commit is contained in:
commit
c986cc7000
@ -182,7 +182,7 @@ int rm_rf(const char *path, RemoveFlags flags) {
|
|||||||
if (r >= 0)
|
if (r >= 0)
|
||||||
return r;
|
return r;
|
||||||
|
|
||||||
if (r != -ENOTTY && r != -EINVAL)
|
if (r != -ENOTTY && r != -EINVAL && r != -ENOTDIR)
|
||||||
return r;
|
return r;
|
||||||
|
|
||||||
/* Not btrfs or not a subvolume */
|
/* Not btrfs or not a subvolume */
|
||||||
|
Loading…
Reference in New Issue
Block a user