mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-09 17:44:29 +02:00
check-routeros-update: be verbose when run from terminal only
This commit is contained in:
parent
96613e9bdd
commit
a90511cff9
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ $LogPrintExit2 debug $0 ("Checking for updates...") false;
|
||||||
$LogPrintExit2 info $0 ("An empty string is not a valid version.") true;
|
$LogPrintExit2 info $0 ("An empty string is not a valid version.") true;
|
||||||
}
|
}
|
||||||
|
|
||||||
:if (($Update->"installed-version") = ($Update->"latest-version")) do={
|
:if ([ $ScriptFromTerminal $0 ] = true && ($Update->"installed-version") = ($Update->"latest-version")) do={
|
||||||
$LogPrintExit2 info $0 ("System is already up to date.") true;
|
$LogPrintExit2 info $0 ("System is already up to date.") true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue