aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:32:23 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:32:23 +0200
commit99a8148d17f5000f7fd4065246eda03dbcbedf58 (patch)
treea8666f92510743e0054ae24e5bc1b207a550408d
parent2d30f4e4629de5a24803d34960c77d60f7490834 (diff)
daily-psk: update initialization of empty array
Having the parenthesis here is important for valid syntax!
-rw-r--r--daily-psk.capsman2
-rw-r--r--daily-psk.local2
-rw-r--r--daily-psk.template2
3 files changed, 3 insertions, 3 deletions
diff --git a/daily-psk.capsman b/daily-psk.capsman
index 9f81be5..6e89ff2 100644
--- a/daily-psk.capsman
+++ b/daily-psk.capsman
@@ -55,7 +55,7 @@ $WaitFullyConnected;
($DailyPskSecrets->2->$WeekDay));
}
-:local Seen [ :toarray "" ];
+:local Seen ({});
:local Date [ /system/clock/get date ];
:local NewPsk [ $GeneratePSK $Date ];
diff --git a/daily-psk.local b/daily-psk.local
index e2a5886..3876430 100644
--- a/daily-psk.local
+++ b/daily-psk.local
@@ -55,7 +55,7 @@ $WaitFullyConnected;
($DailyPskSecrets->2->$WeekDay));
}
-:local Seen [ :toarray "" ];
+:local Seen ({});
:local Date [ /system/clock/get date ];
:local NewPsk [ $GeneratePSK $Date ];
diff --git a/daily-psk.template b/daily-psk.template
index bd457dc..af05cd7 100644
--- a/daily-psk.template
+++ b/daily-psk.template
@@ -56,7 +56,7 @@ $WaitFullyConnected;
($DailyPskSecrets->2->$WeekDay));
}
-:local Seen [ :toarray "" ];
+:local Seen ({});
:local Date [ /system/clock/get date ];
:local NewPsk [ $GeneratePSK $Date ];