aboutsummaryrefslogtreecommitdiffstats
path: root/accesslist-duplicates.local
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-02-21 00:03:57 +0100
committerGravatar Christian Hesse <mail@eworm.de>2019-02-21 00:03:57 +0100
commit04025da9b82260544c60019394fb88428fb215ce (patch)
treee9bfca106120d186e79db8281c7250baa3436056 /accesslist-duplicates.local
parent5f7c7274573ae290205aa984e8029c586db0e16e (diff)
global-functions: drop $Read, use :return directly
Diffstat (limited to 'accesslist-duplicates.local')
-rw-r--r--accesslist-duplicates.local4
1 files changed, 1 insertions, 3 deletions
diff --git a/accesslist-duplicates.local b/accesslist-duplicates.local
index 552a04a..cf14c3d 100644
--- a/accesslist-duplicates.local
+++ b/accesslist-duplicates.local
@@ -6,8 +6,6 @@
#
# !! Do not edit this file, it is generated from template!
-:global Read;
-
:local Seen [ :toarray "" ];
:local Shown [ :toarray "" ];
@@ -24,7 +22,7 @@
:set Shown ($Shown, $Mac);
:put "\nEnter to skip, numeric id to remove!";
- :local Remove [ $Read ];
+ :local Remove [ :return ];
:if ($Remove != "") do={
:put ("Removing numeric id " . $Remove . "...\n");
/ interface wireless access-list remove $Remove;