fix SELinux check to correctly identify Non-NixOS systems
All checks were successful
Nix Format Check / check-format (push) Successful in 38s

This commit is contained in:
2025-01-15 11:47:12 +01:00
parent d48a3d3925
commit bbd3198976

View File

@@ -414,7 +414,7 @@ warning_prompt() {
check_selinux() { check_selinux() {
# Only on Non-NixOS based systems # Only on Non-NixOS based systems
if ! command -v nixos-version >/dev/null 2>&1; then if command -v nixos-version >/dev/null 2>&1; then
return 0 return 0
fi fi