From 04025da9b82260544c60019394fb88428fb215ce Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 21 Feb 2019 00:03:57 +0100 Subject: global-functions: drop $Read, use :return directly --- accesslist-duplicates.capsman | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'accesslist-duplicates.capsman') diff --git a/accesslist-duplicates.capsman b/accesslist-duplicates.capsman index b0df339..633c771 100644 --- a/accesslist-duplicates.capsman +++ b/accesslist-duplicates.capsman @@ -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"); / caps-man access-list remove $Remove; -- cgit v1.2.3-54-g00ecf