mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 13:11:31 +00:00
chore(xenplatform): elf loader should async load the file (#197)
* fix(build): remove unused environment variables * chore(xenplatform): elf loader should async load the file
This commit is contained in:
@ -7,7 +7,7 @@ remove_service_if_exists() {
|
||||
UNIT_PATH="$(systemctl show -P FragmentPath "${1}")"
|
||||
if [ -f "${UNIT_PATH}" ]
|
||||
then
|
||||
echo "[WARN] disabling removing systemd unit ${UNIT_PATH}" > /dev/stderr
|
||||
echo "[WARN] disabling and removing systemd unit ${UNIT_PATH}" > /dev/stderr
|
||||
systemctl disable --now "${1}" || true
|
||||
rm "${UNIT_PATH}"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user