aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ppp-on-up8
1 files changed, 6 insertions, 2 deletions
diff --git a/ppp-on-up b/ppp-on-up
index e7b2971..017edc3 100644
--- a/ppp-on-up
+++ b/ppp-on-up
@@ -25,6 +25,10 @@
:foreach Script in=[ / system script find where source~("\n# provides: ppp-on-up\n") ] do={
:local ScriptName [ / system script get $Script name ];
- :log debug ("Running script from ppp-on-up: " . $ScriptName);
- / system script run $Script;
+ :do {
+ :log debug ("Running script from ppp-on-up: " . $ScriptName);
+ / system script run $Script;
+ } on-error={
+ :log warning ("Running script '" . $ScriptName . "' from ppp-on-up failed!");
+ }
}