tree: fix script exit

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-06-22 15:37:16 +02:00
parent 0e3db8a636
commit 411b5b9584
5 changed files with 11 additions and 4 deletions

View File

@ -27,3 +27,5 @@ else
echo "No cpufreq_${1} module found"
exit 1
fi
exit 0

View File

@ -116,4 +116,6 @@ while true; do
main
fi
sleep 0.5
done
done
exit 0

View File

@ -18,4 +18,6 @@ if [ "$governor" != "performance" ]; then
done
fi
touch /usr/sbin/stopscale
touch /usr/sbin/stopscale
exit 0

View File

@ -22,4 +22,6 @@ fi
if [ -d /config/target ]; then
mkdir /config/target/iscsi
mkdir /config/target/loopback
fi
fi
exit 0

View File

@ -35,5 +35,4 @@ SUBJECT="$(curl -skL --connect-timeout 10 "${URL}/releases/tag/${TAG}" | pup 'di
SUBJECT="${SUBJECT//\"/\\\\\\\"}"
synodsmnotify -e false -b false "@administrators" "arc_notify_subject" "{\"%NOTIFICATION%\": \"${NOTIFICATION}\", \"%SUBJECT%\": \"${SUBJECT}\"}"
exit 0