aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-04 16:18:29 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-03-12 15:27:15 +0100
commitec90695e8ff892926e9839d29bdbf672d2b5ca90 (patch)
tree32a6557c8d7a46ae8a93818e72017039b59035a5
parentc6639518bcd6689286ed63505d243369c95196e2 (diff)
packages-update: do not exit with error
-rw-r--r--packages-update.rsc6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages-update.rsc b/packages-update.rsc
index 325009f..e6bed78 100644
--- a/packages-update.rsc
+++ b/packages-update.rsc
@@ -39,7 +39,8 @@
on-event=("/system/scheduler/remove \"_RebootForUpdate\"; " . \
":global RebootForUpdate; \$RebootForUpdate;");
$LogPrintExit2 info $ScriptName ("Scheduled reboot for update at " . $StartTime . \
- " local time (" . [ /system/clock/get time-zone-name ] . ").") true;
+ " local time (" . [ /system/clock/get time-zone-name ] . ").") false;
+ :return true;
}
$ScriptLock $ScriptName;
@@ -51,7 +52,8 @@
}
:if ($Update->"installed-version" = $Update->"latest-version") do={
- $LogPrintExit2 info $ScriptName ("Version " . $Update->"latest-version" . " is already installed.") true;
+ $LogPrintExit2 info $ScriptName ("Version " . $Update->"latest-version" . " is already installed.") false;
+ :return true;
}
:local NumInstalled [ $VersionToNum ($Update->"installed-version") ];