about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xnyx_mode/build_nyx_support.sh7
1 files changed, 7 insertions, 0 deletions
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."