From 4e53be4bef298b15c3823ba91f0794ab70a54fa6 Mon Sep 17 00:00:00 2001 From: Botspot Date: Wed, 1 Sep 2021 10:27:50 -0500 Subject: [PATCH] Box64: make systemd-binfmt non-fatal --- apps/Box64/install-64 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/Box64/install-64 b/apps/Box64/install-64 index ea3e8b6..9295553 100755 --- a/apps/Box64/install-64 +++ b/apps/Box64/install-64 @@ -17,10 +17,12 @@ make -j8 || error 'Failed to compile' sudo make install || error 'Failed to run "sudo make install"' if ! sudo systemctl restart systemd-binfmt ;then - echo "Error: systemd-binfmt failed to restart. Running debug..." + echo "WARNING: systemd-binfmt failed to restart. Running debug..." echo 'systemctl status systemd-binfmt.service' systemctl status systemd-binfmt.service echo 'systemctl status systemd-binfmt.service' journalctl -xe | cat - error "Exiting now because systemd-binfmt failed to restart." + echo "Exiting this script as successful, but consider sending the above errors to Pi-Apps developers." fi + +exit 0