From 52b747be0b21f320725513f07c045c88b7b14a19 Mon Sep 17 00:00:00 2001 From: Adam Outler Date: Sun, 26 Oct 2025 15:54:01 +0000 Subject: [PATCH] Remove warnings in devcontainer --- .devcontainer/scripts/setup.sh | 2 +- .../services/scripts/check-nonpersistent-storage.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.devcontainer/scripts/setup.sh b/.devcontainer/scripts/setup.sh index 0f75f26a..70faafe0 100755 --- a/.devcontainer/scripts/setup.sh +++ b/.devcontainer/scripts/setup.sh @@ -144,7 +144,7 @@ configure_source() { sleep 0.2 done sudo chmod 777 /opt/venv/lib/python3.12/site-packages/ && \ - sudo chmod 005 /opt/venv/lib/python3.12/site-packages/ + sudo chmod 005 /opt/venv/lib/python3.12/site-packages/ sudo chmod 666 /var/run/docker.sock echo " -> Updating build timestamp" diff --git a/install/production-filesystem/services/scripts/check-nonpersistent-storage.sh b/install/production-filesystem/services/scripts/check-nonpersistent-storage.sh index cef40a2f..2e59e20d 100644 --- a/install/production-filesystem/services/scripts/check-nonpersistent-storage.sh +++ b/install/production-filesystem/services/scripts/check-nonpersistent-storage.sh @@ -1,6 +1,11 @@ #!/bin/sh # check-storage-extra.sh - ensure additional NetAlertX directories are persistent mounts. + +if [ "${NETALERTX_DEBUG}" == "1" ]; then + exit 0 +fi + warn_if_not_persistent_mount() { path="$1" label="$2"