aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTom Franklin <tomf@yospace.com>2022-08-08 00:42:18 +0100
committerTom Franklin <tomf@yospace.com>2022-08-08 00:42:18 +0100
commit96b4339d86a22175da22900acecd6b0fb4d5e12b (patch)
tree5ae35d311ccac02e5ca627b63ec6f934e7660094 /scripts
parent6776e65fd960e25b55d11a03324f9007b6dc2a0b (diff)
Only fail if selinux is in enforcing
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install-multi-user.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-multi-user.sh b/scripts/install-multi-user.sh
index 9a18280ef..e6864eaaf 100644
--- a/scripts/install-multi-user.sh
+++ b/scripts/install-multi-user.sh
@@ -640,7 +640,7 @@ place_channel_configuration() {
check_selinux() {
if command -v getenforce > /dev/null 2>&1; then
- if ! [ "$(getenforce)" = "Disabled" ]; then
+ if [ "$(getenforce)" = "Enforcing" ]; then
failure <<EOF
Nix does not work with selinux enabled yet!
see https://github.com/NixOS/nix/issues/2374