From a84b7c78207598a24a2e60df0485d740782a6651 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Thu, 1 Feb 2024 13:45:05 +0100 Subject: NO_NYX --- nyx_mode/build_nyx_support.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nyx_mode/build_nyx_support.sh b/nyx_mode/build_nyx_support.sh index 454d1e7b..50598e7a 100755 --- a/nyx_mode/build_nyx_support.sh +++ b/nyx_mode/build_nyx_support.sh @@ -9,6 +9,13 @@ echo echo "[*] Performing basic sanity checks..." +if [ -n "$NO_SPLICING" ]; then + + echo "[-] Error: the NO_NYX environment variable is set, please unset." + exit 0 + +fi + if [ ! "$(uname -s)" = "Linux" ]; then echo "[-] Error: Nyx mode is only available on Linux." -- cgit 1.4.1