[object Object]

← back to Exo

t

61c09631c017793ddbb6fec500899930028d6aa4 · 2024-12-11 21:40:47 +0000 · Alex Cheema

Files touched

Diff

commit 61c09631c017793ddbb6fec500899930028d6aa4
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Wed Dec 11 21:40:47 2024 +0000

    t
---
 .github/optimize_performance.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/optimize_performance.sh b/.github/optimize_performance.sh
index 706e40b0..43c9da69 100755
--- a/.github/optimize_performance.sh
+++ b/.github/optimize_performance.sh
@@ -9,10 +9,11 @@ log() {
 # Function to safely set sysctl value
 safe_sysctl() {
   if sysctl -n "$1" >/dev/null 2>&1; then
-    sudo sysctl -w "$1=$2" 2>/dev/null || log "Warning: Could not set $1"
+    sudo sysctl -w "$1=$2" >/dev/null 2>&1 || log "Warning: Could not set $1"
   else
     log "Notice: $1 not available on this system"
   fi
+  return 0  # Always return success
 }
 
 log "Applying comprehensive performance optimizations..."

← e698ef6a t  ·  back to Exo  ·  t dd3fd279 →