programs: abort when no firejail profile is found for a program.

in the future, i can whitelist specific binaries to omit their firejail
profiles.
This commit is contained in:
2024-01-21 04:32:49 +00:00
parent 5f5891d241
commit ad92a2e158

View File

@@ -63,6 +63,7 @@ let
firejailProfileFlags="--profile=$_maybeProfile" firejailProfileFlags="--profile=$_maybeProfile"
else else
firejailProfileFlags= firejailProfileFlags=
echo "failed to locate firejail profile for $1 (expected $_maybeProfile): aborting!" && false
fi fi
} }
firejailWrap() { firejailWrap() {