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:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user