diff options
author | Christian Hesse <mail@eworm.de> | 2022-07-13 11:32:23 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-07-13 11:32:23 +0200 |
commit | 99a8148d17f5000f7fd4065246eda03dbcbedf58 (patch) | |
tree | a8666f92510743e0054ae24e5bc1b207a550408d | |
parent | 2d30f4e4629de5a24803d34960c77d60f7490834 (diff) |
daily-psk: update initialization of empty array
Having the parenthesis here is important for valid syntax!
-rw-r--r-- | daily-psk.capsman | 2 | ||||
-rw-r--r-- | daily-psk.local | 2 | ||||
-rw-r--r-- | daily-psk.template | 2 |
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 ]; |