aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-04-03 17:22:03 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-04-03 17:22:03 +0200
commit93e72b5d07bdfe21949f26e6c8c742f8db443e6d (patch)
treecd9511bb60a154798efbe3dbc17f9accc081f4c6
parent972a481faadc7ae35f9d1a4178704cc17b0cc6ca (diff)
packages-update: use $LogPrintExit
-rw-r--r--packages-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages-update b/packages-update
index 9158c08..fb7ff58 100644
--- a/packages-update
+++ b/packages-update
@@ -37,7 +37,7 @@ $ScriptLock "packages-update";
:if (!([ /system resource get version ] ~ ($Update->"channel"))) do={
:put "Update channel changed. Want to downgrade? [y/N]";
:if ([ :terminal inkey timeout=60 ] = 121) do={
- :log info ("Rebooting for downgrade.");
+ $LogPrintExit info ("Rebooting for downgrade.") false;
:delay 1s;
/ system package downgrade;
}
@@ -52,6 +52,6 @@ $ScriptLock "packages-update";
}
}
-:log info ("Rebooting for update.");
+$LogPrintExit info ("Rebooting for update.") false;
:delay 1s;
/ system reboot;