diff --git a/sdk_container/src/third_party/portage-stable/app-containers/lxc/lxc-5.0.3.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/lxc/lxc-5.0.3.ebuild index 4fdedaf083a..34c3089efa1 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/lxc/lxc-5.0.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/lxc/lxc-5.0.3.ebuild @@ -139,7 +139,7 @@ src_install() { # Replace upstream sysvinit/systemd files. if use systemd; then - rm -r "${D}$(systemd_get_systemunitdir)" || die "Failed to remove systemd lib dir" + rm -rf "${D}$(systemd_get_systemunitdir)" || die "Failed to remove systemd lib dir" else rm "${ED}"/etc/init.d/lxc-{containers,net} || die "Failed to remove sysvinit scripts" fi