Fix sysupgrade update-checker

This commit is contained in:
LinuxSquare 2025-04-25 21:31:31 +02:00
parent 37c31d3ce6
commit 1575ccaf3f

View file

@ -1,9 +1,9 @@
#!/usr/bin/env bash
source ./check
source "${ROOTPATH}/functions/check"
function sysupgrade_main() {
if ! check_local; then
if ! check_local &> /dev/null; then
echo "Sysupgrade true"
else
echo "Sysupgrade false"