From 93e72b5d07bdfe21949f26e6c8c742f8db443e6d Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 3 Apr 2020 17:22:03 +0200 Subject: packages-update: use $LogPrintExit --- packages-update | 4 ++-- 1 file 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; -- cgit v1.2.3-70-g09d2