mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-07 06:03:51 +00: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:
+1
-1
@@ -182,7 +182,7 @@ int rm_rf(const char *path, RemoveFlags flags) {
|
||||
if (r >= 0)
|
||||
return r;
|
||||
|
||||
if (r != -ENOTTY && r != -EINVAL)
|
||||
if (r != -ENOTTY && r != -EINVAL && r != -ENOTDIR)
|
||||
return r;
|
||||
|
||||
/* Not btrfs or not a subvolume */
|
||||
|
||||
Reference in New Issue
Block a user