aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2025-03-03 09:12:43 +0100
committerGravatar Christian Hesse <mail@eworm.de>2025-03-03 09:12:43 +0100
commit469f783a92c8e67088d70572157ff4cd7d47fcd8 (patch)
treee076dbb9286268b2a7ec560d1ec8766a4585cca0
parent33c02e06092eded4b3344a6eb22742c9be531fb2 (diff)
ipv6-update: check for availability of both variablesHEADstagingnextmain
-rw-r--r--ipv6-update.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipv6-update.rsc b/ipv6-update.rsc
index beccde0..94bd1bc 100644
--- a/ipv6-update.rsc
+++ b/ipv6-update.rsc
@@ -35,7 +35,7 @@
:error false;
}
- :if ([ :typeof $PdPrefix ] = "nothing") do={
+ :if ([ :typeof $PdPrefix ] = "nothing" || [ :typeof $PdValid ] = "nothing") do={
$LogPrint error $ScriptName ("This script is supposed to run from ipv6 dhcp-client.");
:set ExitOK true;
:error false;