aboutsummaryrefslogtreecommitdiffstats
path: root/packages-update
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-10-07 23:55:10 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-10-07 23:55:10 +0200
commit3dc10ca2b86f929799048ceb68af30c19f39702d (patch)
tree7247b6af05060a64f752196177f1df3ba9255817 /packages-update
parentbc5133fb41d53b11b6fd0d0893bad949f003b663 (diff)
packages-update: fix variable usage
Diffstat (limited to 'packages-update')
-rw-r--r--packages-update3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages-update b/packages-update
index 976a8a0..38636c5 100644
--- a/packages-update
+++ b/packages-update
@@ -52,7 +52,8 @@ $ScriptLock "packages-update";
:do {
/ system script run $Script;
} on-error={
- $LogPrintExit warning ("Running backup script " . $Script . " failed.") false;
+ :local ScriptName [ / system script get $Script name ];
+ $LogPrintExit warning ("Running backup script " . $ScriptName . " failed.") false;
}
}